Class AttributeEnclosingMethod
- java.lang.Object
-
- org.benf.cfr.reader.entities.attributes.Attribute
-
- org.benf.cfr.reader.entities.attributes.AttributeEnclosingMethod
-
- All Implemented Interfaces:
KnowsRawName,KnowsRawSize,Dumpable,TypeUsageCollectable
public class AttributeEnclosingMethod extends Attribute
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_NAMEprivate intclassIndexprivate intlengthprivate intmethodIndexprivate static longOFFSET_OF_ATTRIBUTE_LENGTHprivate static longOFFSET_OF_REMAINDER
-
Constructor Summary
Constructors Constructor Description AttributeEnclosingMethod(ByteData raw)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dumperdump(Dumper d)intgetClassIndex()intgetMethodIndex()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
-
length
private final int length
-
classIndex
private final int classIndex
-
methodIndex
private final int methodIndex
-
-
Constructor Detail
-
AttributeEnclosingMethod
public AttributeEnclosingMethod(ByteData raw)
-
-
Method Detail
-
getRawName
public java.lang.String getRawName()
-
getRawByteLength
public long getRawByteLength()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getClassIndex
public int getClassIndex()
-
getMethodIndex
public int getMethodIndex()
-
-