|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.FieldInfo
public class FieldInfo
Default implementation of IFieldInfo.
| Constructor Summary | |
|---|---|
FieldInfo(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
|
|
| Method Summary | |
|---|---|
int |
getAccessFlags()
Answer back the access flag of this field info. |
int |
getAttributeCount()
Answer back the attribute number of the field info. |
IClassFileAttribute[] |
getAttributes()
Answer back the collection of all attributes of the field info. |
IConstantValueAttribute |
getConstantValueAttribute()
Answer back the constant value attribute of this field info if specified, null otherwise. |
char[] |
getDescriptor()
Answer back the descriptor of this field info. |
int |
getDescriptorIndex()
Answer back the descriptor index of this field info. |
char[] |
getName()
Answer back the name of this field info. |
int |
getNameIndex()
Answer back the name index of this field info. |
boolean |
hasConstantValueAttribute()
Return true if the field info has a constant value attribute, false otherwise. |
boolean |
isDeprecated()
Return true if the field info has a deprecated attribute, false otherwise. |
boolean |
isSynthetic()
Return true if the field info is synthetic according to the JVM specification, false otherwise. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct |
|---|
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldInfo(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
classFileBytes - byte[]constantPool - IConstantPooloffset - int
ClassFormatException| Method Detail |
|---|
public int getAccessFlags()
IFieldInfo
getAccessFlags in interface IFieldInfoIFieldInfo.getAccessFlags()public int getAttributeCount()
IFieldInfo
getAttributeCount in interface IFieldInfoIFieldInfo.getAttributeCount()public IClassFileAttribute[] getAttributes()
IFieldInfo
getAttributes in interface IFieldInfoIFieldInfo.getAttributes()public IConstantValueAttribute getConstantValueAttribute()
IFieldInfo
getConstantValueAttribute in interface IFieldInfoIFieldInfo.getConstantValueAttribute()public char[] getDescriptor()
IFieldInfo
getDescriptor in interface IFieldInfoIFieldInfo.getDescriptor()public int getDescriptorIndex()
IFieldInfo
getDescriptorIndex in interface IFieldInfoIFieldInfo.getDescriptorIndex()public char[] getName()
IFieldInfo
getName in interface IFieldInfoIFieldInfo.getName()public int getNameIndex()
IFieldInfo
getNameIndex in interface IFieldInfoIFieldInfo.getNameIndex()public boolean hasConstantValueAttribute()
IFieldInfo
hasConstantValueAttribute in interface IFieldInfoIFieldInfo.hasConstantValueAttribute()public boolean isDeprecated()
IFieldInfo
isDeprecated in interface IFieldInfoIFieldInfo.isDeprecated()public boolean isSynthetic()
IFieldInfoNote that prior to JDK 1.5, synthetic fields were always marked using
an attribute; with 1.5, synthetic fields can also be marked using
the IModifierConstants.ACC_SYNTHETIC flag.
isSynthetic in interface IFieldInfoIFieldInfo.isSynthetic()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||