|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> bcel >> [ classfile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.puppycrawl.tools.checkstyle.bcel.classfile
Class FieldDefinition

java.lang.Objectcom.puppycrawl.tools.checkstyle.bcel.classfile.FieldOrMethodDefinition
com.puppycrawl.tools.checkstyle.bcel.classfile.FieldDefinition
- public class FieldDefinition
- extends FieldOrMethodDefinition
Contains the definition of a Field and its references.
| Field Summary | |
private java.util.Set |
mGetReferences
the GET references for the Field |
private java.util.Set |
mPutReferences
the PUT references for the FSield |
| Fields inherited from class com.puppycrawl.tools.checkstyle.bcel.classfile.FieldOrMethodDefinition |
|
| Constructor Summary | |
FieldDefinition(org.apache.bcel.classfile.Field aField)
Creates a FieldDefinition for a Field. |
|
| Method Summary | |
void |
addReference(com.puppycrawl.tools.checkstyle.bcel.generic.FieldReference aFieldRef)
Adds a reference to the Field. |
org.apache.bcel.classfile.Field |
getField()
Returns the Field for this definition. |
int |
getReadReferenceCount()
Determines the number of read, or GET, references to the Field. |
int |
getReferenceCount()
Determines the total number of references to the Field. |
int |
getWriteReferenceCount()
Determines the number of write, or PUT, references to the Field. |
| Methods inherited from class com.puppycrawl.tools.checkstyle.bcel.classfile.FieldOrMethodDefinition |
getFieldOrMethod, getName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
mGetReferences
private final java.util.Set mGetReferences
- the GET references for the Field
mPutReferences
private final java.util.Set mPutReferences
- the PUT references for the FSield
| Constructor Detail |
FieldDefinition
public FieldDefinition(org.apache.bcel.classfile.Field aField)
- Creates a
FieldDefinitionfor a Field.
| Method Detail |
getField
public org.apache.bcel.classfile.Field getField()
- Returns the Field for this definition.
getReadReferenceCount
public int getReadReferenceCount()
- Determines the number of read, or GET, references to the Field.
getWriteReferenceCount
public int getWriteReferenceCount()
- Determines the number of write, or PUT, references to the Field.
getReferenceCount
public int getReferenceCount()
- Determines the total number of references to the Field.
addReference
public void addReference(com.puppycrawl.tools.checkstyle.bcel.generic.FieldReference aFieldRef)
- Adds a reference to the Field.
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> bcel >> [ classfile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC