|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.eclipse.jdt.internal.compiler.classfmt.FieldInfo
public class FieldInfo
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
static FieldInfo |
createField(byte[] classFileBytes,
int[] offsets,
int offset)
|
boolean |
equals(java.lang.Object o)
|
IBinaryAnnotation[] |
getAnnotations()
Answer the runtime visible and invisible annotations for this field or null if none. |
Constant |
getConstant()
Return the constant of the field. |
char[] |
getGenericSignature()
Answer the receiver's signature which describes the parameter & return types as specified in section 4.4.4 of the Java 2 VM spec. |
int |
getModifiers()
Answer an int whose bits are set according the access constants defined by the VM spec. |
char[] |
getName()
Answer the name of the field. |
long |
getTagBits()
Answer the tagbits set according to the bits for annotations. |
char[] |
getTypeName()
Answer the resolved name of the receiver's type in the class file format as specified in section 4.3.2 of the Java 2 VM spec. |
java.lang.Object |
getWrappedConstantValue()
Return a wrapper that contains the constant of the field. |
boolean |
hasConstant()
Return true if the field has a constant value attribute, false otherwise. |
int |
hashCode()
|
boolean |
isSynthetic()
Return true if the field is a synthetic field, false otherwise. |
int |
sizeInBytes()
Answer the size of the receiver in bytes. |
void |
throwFormatException()
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct |
---|
doubleAt, floatAt, i4At, i8At, u1At, u2At, u4At, utf8At |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static FieldInfo createField(byte[] classFileBytes, int[] offsets, int offset)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Constant getConstant()
getConstant
in interface IBinaryField
public char[] getGenericSignature()
IBinaryField
getGenericSignature
in interface IBinaryField
public int getModifiers()
getModifiers
in interface IGenericField
public char[] getName()
getName
in interface IBinaryField
public long getTagBits()
IBinaryField
getTagBits
in interface IBinaryField
public char[] getTypeName()
getTypeName
in interface IBinaryField
public IBinaryAnnotation[] getAnnotations()
IBinaryField
getAnnotations
in interface IBinaryField
public java.lang.Object getWrappedConstantValue()
public boolean hasConstant()
public boolean isSynthetic()
public int sizeInBytes()
public void throwFormatException() throws ClassFormatException
ClassFormatException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |