Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks.coding |
Contains the Coding checks that are
bundled with the main distribution.
|
Modifier and Type | Field and Description |
---|---|
private EqualsAvoidNullCheck.FieldFrame |
EqualsAvoidNullCheck.currentFrame
Stack of sets of field names, one for each class of a set of nested classes.
|
private EqualsAvoidNullCheck.FieldFrame |
EqualsAvoidNullCheck.FieldFrame.parent
Parent frame.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<EqualsAvoidNullCheck.FieldFrame> |
EqualsAvoidNullCheck.FieldFrame.children
Set of frame's children.
|
Modifier and Type | Method and Description |
---|---|
private static EqualsAvoidNullCheck.FieldFrame |
EqualsAvoidNullCheck.getObjectFrame(EqualsAvoidNullCheck.FieldFrame frame)
Get the nearest parent frame which is CLASS_DEF, ENUM_DEF or ENUM_CONST_DEF.
|
EqualsAvoidNullCheck.FieldFrame |
EqualsAvoidNullCheck.FieldFrame.getParent()
Getter for the parent frame.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<EqualsAvoidNullCheck.FieldFrame> |
EqualsAvoidNullCheck.FieldFrame.getChildren()
Getter for frame's children.
|
Modifier and Type | Method and Description |
---|---|
void |
EqualsAvoidNullCheck.FieldFrame.addChild(EqualsAvoidNullCheck.FieldFrame child)
Add child frame to this frame.
|
private static EqualsAvoidNullCheck.FieldFrame |
EqualsAvoidNullCheck.getObjectFrame(EqualsAvoidNullCheck.FieldFrame frame)
Get the nearest parent frame which is CLASS_DEF, ENUM_DEF or ENUM_CONST_DEF.
|
private void |
EqualsAvoidNullCheck.traverseFieldFrameTree(EqualsAvoidNullCheck.FieldFrame frame)
Traverse the tree of the field frames to check all equals method calls.
|
Constructor and Description |
---|
FieldFrame(EqualsAvoidNullCheck.FieldFrame parent)
Creates new frame.
|