Class AttributeCode
java.lang.Object
org.benf.cfr.reader.entities.attributes.Attribute
org.benf.cfr.reader.entities.attributes.AttributeCode
- All Implemented Interfaces:
KnowsRawName
,KnowsRawSize
,Dumpable
,TypeUsageCollectable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
private final AttributeMap
private final CodeAnalyser
private final int
private final ConstantPool
private final List<ExceptionTableEntry>
private final int
private final int
private final int
private static final long
private static final long
private final ByteData
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeCode
(ByteData raw, ConstantPool cp, ClassFileVersion classFileVersion) -
Method Summary
Modifier and TypeMethodDescriptionanalyse()
void
collectTypeUsages
(TypeUsageCollector collector) int
int
long
void
void
-
Field Details
-
ATTRIBUTE_NAME
- See Also:
-
OFFSET_OF_ATTRIBUTE_LENGTH
private static final long OFFSET_OF_ATTRIBUTE_LENGTH- See Also:
-
OFFSET_OF_MAX_STACK
private static final long OFFSET_OF_MAX_STACK- See Also:
-
length
private final int length -
maxStack
private final int maxStack -
maxLocals
private final int maxLocals -
codeLength
private final int codeLength -
exceptionTableEntries
-
attributes
-
cp
-
rawData
-
codeAnalyser
-
-
Constructor Details
-
AttributeCode
-
-
Method Details
-
setMethod
-
analyse
-
getConstantPool
-
getLocalVariableTable
-
getLineNumberTable
-
getRuntimeVisibleTypeAnnotations
-
getRuntimeInvisibleTypeAnnotations
-
getRawData
-
getExceptionTableEntries
-
getMaxLocals
public int getMaxLocals() -
getCodeLength
public int getCodeLength() -
dump
-
getRawByteLength
public long getRawByteLength() -
getRawName
-
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
- Overrides:
collectTypeUsages
in classAttribute
-
releaseCode
public void releaseCode() -
getAttributes
-