org.eclipse.jdt.internal.core.util
Class FieldInfo

java.lang.Object
  extended by org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.eclipse.jdt.internal.core.util.FieldInfo

public class FieldInfo
extends ClassFileStruct

Default implementation of IFieldInfo.


Constructor Summary
FieldInfo(byte[] classFileBytes, IConstantPool constantPool, int offset)
           
 
Method Summary
 int getAccessFlags()
           
 int getAttributeCount()
           
 IClassFileAttribute[] getAttributes()
           
 IConstantValueAttribute getConstantValueAttribute()
           
 char[] getDescriptor()
           
 int getDescriptorIndex()
           
 char[] getName()
           
 int getNameIndex()
           
 boolean hasConstantValueAttribute()
           
 boolean isDeprecated()
           
 boolean isSynthetic()
           
 
Methods inherited from class 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

FieldInfo

public FieldInfo(byte[] classFileBytes,
                 IConstantPool constantPool,
                 int offset)
          throws ClassFormatException
Parameters:
classFileBytes - byte[]
constantPool - IConstantPool
offset - int
Throws:
ClassFormatException
Method Detail

getAccessFlags

public int getAccessFlags()
See Also:
IFieldInfo#getAccessFlags()

getAttributeCount

public int getAttributeCount()
See Also:
IFieldInfo#getAttributeCount()

getAttributes

public IClassFileAttribute[] getAttributes()
See Also:
IFieldInfo#getAttributes()

getConstantValueAttribute

public IConstantValueAttribute getConstantValueAttribute()
See Also:
IFieldInfo#getConstantValueAttribute()

getDescriptor

public char[] getDescriptor()
See Also:
IFieldInfo#getDescriptor()

getDescriptorIndex

public int getDescriptorIndex()
See Also:
IFieldInfo#getDescriptorIndex()

getName

public char[] getName()
See Also:
IFieldInfo#getName()

getNameIndex

public int getNameIndex()
See Also:
IFieldInfo#getNameIndex()

hasConstantValueAttribute

public boolean hasConstantValueAttribute()
See Also:
IFieldInfo#hasConstantValueAttribute()

isDeprecated

public boolean isDeprecated()
See Also:
IFieldInfo#isDeprecated()

isSynthetic

public boolean isSynthetic()
See Also:
IFieldInfo#isSynthetic()