Package edu.umd.cs.findbugs.ba.bcp
Class FieldVariable
java.lang.Object
edu.umd.cs.findbugs.ba.bcp.FieldVariable
- All Implemented Interfaces:
Variable
-
Constructor Summary
ConstructorsConstructorDescriptionFieldVariable(ValueNumber ref, String className, String fieldName, String fieldSig) Constructor for instance fields.FieldVariable(String className, String fieldName, String fieldSig) Constructor for static fields. -
Method Summary
-
Constructor Details
-
FieldVariable
Constructor for static fields.- Parameters:
className- the class namefieldName- the field namefieldSig- the field signature
-
FieldVariable
public FieldVariable(@Nullable ValueNumber ref, String className, String fieldName, String fieldSig) Constructor for instance fields.- Parameters:
ref- ValueNumber of the object referenceclassName- the class namefieldName- the field namefieldSig- the field signature
-
-
Method Details
-
isStatic
public boolean isStatic()Return whether or not this is a static field. -
getClassName
Get the class name. -
getFieldName
Get the field name. -
getFieldSig
Get the field signature. -
sameAs
Description copied from interface:VariableDetermine if the given Variable is the same as this one. -
toString
-