|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.eclipse.jdt.internal.compiler.classfmt.FieldInfo
public class FieldInfo
| 字段摘要 | |
|---|---|
protected int |
accessFlags
|
protected int |
attributeBytes
|
protected Constant |
constant
|
protected char[] |
descriptor
|
protected char[] |
name
|
protected char[] |
signature
|
protected int |
signatureUtf8Offset
|
protected long |
tagBits
|
protected Object |
wrappedConstantValue
|
| 构造方法摘要 | |
|---|---|
protected |
FieldInfo(byte[] classFileBytes,
int[] offsets,
int offset)
|
| 方法摘要 | |
|---|---|
int |
compareTo(Object o)
|
static FieldInfo |
createField(byte[] classFileBytes,
int[] offsets,
int offset)
|
boolean |
equals(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. |
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()
|
protected void |
initialize()
This method is used to fully initialize the contents of the receiver. |
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()
|
String |
toString()
|
protected void |
toStringContent(StringBuffer buffer)
|
| 从类 org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct 继承的方法 |
|---|
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8At |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected int accessFlags
protected int attributeBytes
protected Constant constant
protected char[] descriptor
protected char[] name
protected char[] signature
protected int signatureUtf8Offset
protected long tagBits
protected Object wrappedConstantValue
| 构造方法详细信息 |
|---|
protected FieldInfo(byte[] classFileBytes,
int[] offsets,
int offset)
classFileBytes - byte[]offsets - int[]offset - int| 方法详细信息 |
|---|
public static FieldInfo createField(byte[] classFileBytes,
int[] offsets,
int offset)
public int compareTo(Object o)
Comparable 中的 compareTopublic boolean equals(Object o)
Object 中的 equalspublic int hashCode()
Object 中的 hashCodepublic Constant getConstant()
IBinaryField 中的 getConstantpublic char[] getGenericSignature()
IBinaryField 复制的描述
IBinaryField 中的 getGenericSignaturepublic int getModifiers()
IGenericField 中的 getModifierspublic char[] getName()
IBinaryField 中的 getNamepublic long getTagBits()
IBinaryField 复制的描述
IBinaryField 中的 getTagBitspublic char[] getTypeName()
IBinaryField 中的 getTypeNamepublic IBinaryAnnotation[] getAnnotations()
IBinaryField 复制的描述
IBinaryField 中的 getAnnotationspublic Object getWrappedConstantValue()
public boolean hasConstant()
protected void initialize()
public boolean isSynthetic()
public int sizeInBytes()
public void throwFormatException()
throws ClassFormatException
ClassFormatExceptionpublic String toString()
Object 中的 toStringprotected void toStringContent(StringBuffer buffer)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||