-
- All Implemented Interfaces:
-
org.gjt.jclasslib.structures.AttributeContainer
public final class RecordEntry extends SubStructure implements AttributeContainer
Describes an entry in a Record attribute structure.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegernameIndexprivate IntegerdescriptorIndexprivate final Integerlengthprivate Array<AttributeInfo>attributesprivate final IntegertotalAttributesLength
-
Constructor Summary
Constructors Constructor Description RecordEntry(ClassFile classFile, Array<AttributeInfo> attributes)
-
Method Summary
Modifier and Type Method Description final IntegergetNameIndex()The name index. final UnitsetNameIndex(Integer nameIndex)The name index. final IntegergetDescriptorIndex()The description index. final UnitsetDescriptorIndex(Integer descriptorIndex)The description index. IntegergetLength()The length of the structure in bytes. Array<AttributeInfo>getAttributes()Attributes of this structure. UnitsetAttributes(Array<AttributeInfo> attributes)Attributes of this structure. -
Methods inherited from class org.gjt.jclasslib.structures.AttributeContainer
findAttribute, getTotalAttributesLength, readAttributes, writeAttributes -
Methods inherited from class org.gjt.jclasslib.structures.Structure
read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RecordEntry
RecordEntry(ClassFile classFile, Array<AttributeInfo> attributes)
-
-
Method Detail
-
getNameIndex
final Integer getNameIndex()
The name index.
-
setNameIndex
final Unit setNameIndex(Integer nameIndex)
The name index.
-
getDescriptorIndex
final Integer getDescriptorIndex()
The description index.
-
setDescriptorIndex
final Unit setDescriptorIndex(Integer descriptorIndex)
The description index.
-
getAttributes
Array<AttributeInfo> getAttributes()
Attributes of this structure.
-
setAttributes
Unit setAttributes(Array<AttributeInfo> attributes)
Attributes of this structure.
-
-
-
-