|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XField
Abstract representation of a field. Note that this is called "XField" to distinguish it from BCEL's Field class. Also, you can think of the "X" as expanding to "Instance" or "Static".
This interface and its implementations exist because Field objects in BCEL are awkward to deal with. They are not Comparable, it is difficult to find out what class they belong to, etc.
Method Summary | |
---|---|
int |
getAccessFlags()
Get the field's access flags. |
java.lang.String |
getClassName()
Get the name of the class the field is defined in. |
java.lang.String |
getFieldName()
Get the name of the field. |
java.lang.String |
getFieldSignature()
Get the signature representing the field's type. |
boolean |
isFinal()
Is this a final field? |
boolean |
isPublic()
Is this a public field? |
boolean |
isReferenceType()
Is the type of the field a reference type? |
boolean |
isStatic()
Is this a static field? |
boolean |
isVolatile()
Is this a volatile field? |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.String getFieldName()
java.lang.String getClassName()
java.lang.String getFieldSignature()
boolean isReferenceType()
int getAccessFlags()
boolean isStatic()
boolean isVolatile()
boolean isFinal()
boolean isPublic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |