Class AttributeBootstrapMethods
- java.lang.Object
-
- org.benf.cfr.reader.entities.attributes.Attribute
-
- org.benf.cfr.reader.entities.attributes.AttributeBootstrapMethods
-
- All Implemented Interfaces:
KnowsRawName,KnowsRawSize,Dumpable,TypeUsageCollectable
public class AttributeBootstrapMethods extends Attribute
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_NAMEprivate intlengthprivate java.util.List<BootstrapMethodInfo>methodInfoListprivate static longOFFSET_OF_ATTRIBUTE_LENGTHprivate static longOFFSET_OF_NUM_METHODSprivate static longOFFSET_OF_REMAINDER
-
Constructor Summary
Constructors Constructor Description AttributeBootstrapMethods(ByteData raw, ConstantPool cp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.util.List<BootstrapMethodInfo>decodeMethods(ByteData raw, ConstantPool cp)Dumperdump(Dumper d)BootstrapMethodInfogetBootStrapMethodInfo(int idx)longgetRawByteLength()java.lang.StringgetRawName()java.lang.StringtoString()-
Methods inherited from class org.benf.cfr.reader.entities.attributes.Attribute
collectTypeUsages
-
-
-
-
Field Detail
-
ATTRIBUTE_NAME
public static final java.lang.String ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
OFFSET_OF_ATTRIBUTE_LENGTH
private static final long OFFSET_OF_ATTRIBUTE_LENGTH
- See Also:
- Constant Field Values
-
OFFSET_OF_REMAINDER
private static final long OFFSET_OF_REMAINDER
- See Also:
- Constant Field Values
-
OFFSET_OF_NUM_METHODS
private static final long OFFSET_OF_NUM_METHODS
- See Also:
- Constant Field Values
-
length
private final int length
-
methodInfoList
private final java.util.List<BootstrapMethodInfo> methodInfoList
-
-
Constructor Detail
-
AttributeBootstrapMethods
public AttributeBootstrapMethods(ByteData raw, ConstantPool cp)
-
-
Method Detail
-
getBootStrapMethodInfo
public BootstrapMethodInfo getBootStrapMethodInfo(int idx)
-
decodeMethods
private static java.util.List<BootstrapMethodInfo> decodeMethods(ByteData raw, ConstantPool cp)
-
getRawName
public java.lang.String getRawName()
-
getRawByteLength
public long getRawByteLength()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-