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

java.lang.Object
  extended by org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.eclipse.jdt.internal.core.util.ClassFileAttribute
Direct Known Subclasses:
AnnotationDefaultAttribute, BootstrapMethodsAttribute, CodeAttribute, ConstantValueAttribute, EnclosingMethodAttribute, ExceptionAttribute, InnerClassesAttribute, LineNumberAttribute, LocalVariableAttribute, LocalVariableTypeAttribute, MethodParametersAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeInvisibleParameterAnnotationsAttribute, RuntimeInvisibleTypeAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, RuntimeVisibleParameterAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, SignatureAttribute, SourceFileAttribute, StackMapAttribute, StackMapTableAttribute

public class ClassFileAttribute
extends ClassFileStruct

Default implementation of IClassFileAttribute


Field Summary
static IClassFileAttribute[] NO_ATTRIBUTES
           
 
Constructor Summary
ClassFileAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset)
           
 
Method Summary
 long getAttributeLength()
           
 char[] getAttributeName()
           
 int getAttributeNameIndex()
           
 
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
 

Field Detail

NO_ATTRIBUTES

public static final IClassFileAttribute[] NO_ATTRIBUTES
Constructor Detail

ClassFileAttribute

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

getAttributeNameIndex

public int getAttributeNameIndex()

getAttributeName

public char[] getAttributeName()
See Also:
IClassFileAttribute#getAttributeName()

getAttributeLength

public long getAttributeLength()
See Also:
IClassFileAttribute#getAttributeLength()