|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rit.classfile.FieldReference
public abstract class FieldReference
Class FieldReference encapsulates the information needed to refer to a field. This includes the field's class, name, and type. In the documentation below, the term "referenced field" means "the field referred to by this field reference object."
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determine if this field reference is equal to the given object. |
ClassReference |
getClassReference()
Returns the class which contains the referenced field. |
String |
getFieldDescriptor()
Returns the referenced field's descriptor. |
String |
getFieldName()
Returns the referenced field's name. |
TypeReference |
getFieldType()
Returns the referenced field's type. |
int |
hashCode()
Returns a hash code for this field reference. |
String |
toString()
Returns a string version of this field reference. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public ClassReference getClassReference()
public String getFieldName()
public String getFieldDescriptor()
public TypeReference getFieldType()
public boolean equals(Object obj)
equals
in class Object
obj
- Object to test.
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |