org.eclipse.jdt.core.util
Interface IClassFileAttribute

All Known Subinterfaces:
IAnnotationDefaultAttribute, ICodeAttribute, IConstantValueAttribute, IEnclosingMethodAttribute, IExceptionAttribute, IInnerClassesAttribute, ILineNumberAttribute, ILocalVariableAttribute, ILocalVariableTypeTableAttribute, IRuntimeInvisibleAnnotationsAttribute, IRuntimeInvisibleParameterAnnotationsAttribute, IRuntimeVisibleAnnotationsAttribute, IRuntimeVisibleParameterAnnotationsAttribute, ISignatureAttribute, ISourceAttribute, IStackMapAttribute, IStackMapTableAttribute
All Known Implementing Classes:
AnnotationDefaultAttribute, ClassFileAttribute, CodeAttribute, ConstantValueAttribute, EnclosingMethodAttribute, ExceptionAttribute, InnerClassesAttribute, LineNumberAttribute, LocalVariableAttribute, LocalVariableTypeAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeInvisibleParameterAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, RuntimeVisibleParameterAnnotationsAttribute, SignatureAttribute, SourceFileAttribute, StackMapAttribute, StackMapTableAttribute

public interface IClassFileAttribute

This class represents a generic class file attribute. It is intended to be extended for any new attribute.

Since:
2.0

Method Summary
 long getAttributeLength()
          Answer back the attribute length as specified in the JVM specifications.
 char[] getAttributeName()
          Answer back the attribute name as specified in the JVM specifications.
 int getAttributeNameIndex()
          Answer back the attribute name index in the constant pool as specified in the JVM specifications.
 

Method Detail

getAttributeNameIndex

int getAttributeNameIndex()
Answer back the attribute name index in the constant pool as specified in the JVM specifications.

Returns:
the attribute name index in the constant pool

getAttributeName

char[] getAttributeName()
Answer back the attribute name as specified in the JVM specifications.

Returns:
the attribute name

getAttributeLength

long getAttributeLength()
Answer back the attribute length as specified in the JVM specifications.

Returns:
the attribute length