-
- All Implemented Interfaces:
public abstract class AttributeInfo extends Structure
Base class for all attribute structures in the attribute package.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerattributeNameIndexprivate final Stringname
-
Constructor Summary
Constructors Constructor Description AttributeInfo(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetAttributeNameIndex()Constant pool index for the name of the attribute. final UnitsetAttributeNameIndex(Integer attributeNameIndex)Constant pool index for the name of the attribute. final StringgetName()abstract IntegergetAttributeLength()Get the length of this attribute in bytes. -
-
Constructor Detail
-
AttributeInfo
AttributeInfo(ClassFile classFile)
-
-
Method Detail
-
getAttributeNameIndex
final Integer getAttributeNameIndex()
Constant pool index for the name of the attribute.
-
setAttributeNameIndex
final Unit setAttributeNameIndex(Integer attributeNameIndex)
Constant pool index for the name of the attribute.
-
getAttributeLength
abstract Integer getAttributeLength()
Get the length of this attribute in bytes.
-
-
-
-