-
- All Implemented Interfaces:
public final class NestHostAttribute extends AttributeInfo
Describes a NestHost attribute structure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNestHostAttribute.Companion
-
Field Summary
Fields Modifier and Type Field Description private IntegerclassInfoIndexprivate final ConstantClassInfoclassConstantprivate IntegerattributeNameIndexprivate final Stringname
-
Constructor Summary
Constructors Constructor Description NestHostAttribute(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetClassInfoIndex()Constant pool index of the CONSTANT_Class_info structure containing the host class. final UnitsetClassInfoIndex(Integer classInfoIndex)Constant pool index of the CONSTANT_Class_info structure containing the host class. final ConstantClassInfogetClassConstant()IntegergetAttributeLength()Get the length of this attribute in bytes. -
Methods inherited from class org.gjt.jclasslib.structures.AttributeInfo
getAttributeNameIndex, getName, setAttributeNameIndex -
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
-
NestHostAttribute
NestHostAttribute(ClassFile classFile)
-
-
Method Detail
-
getClassInfoIndex
final Integer getClassInfoIndex()
Constant pool index of the CONSTANT_Class_info structure containing the host class.
-
setClassInfoIndex
final Unit setClassInfoIndex(Integer classInfoIndex)
Constant pool index of the CONSTANT_Class_info structure containing the host class.
-
getClassConstant
final ConstantClassInfo getClassConstant()
-
getAttributeLength
Integer getAttributeLength()
Get the length of this attribute in bytes.
-
-
-
-