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 Stringprivate final AttributeMapprivate final CodeAnalyserprivate final intprivate final ConstantPoolprivate final List<ExceptionTableEntry> private final intprivate final intprivate final intprivate static final longprivate static final longprivate final ByteData -
Constructor Summary
ConstructorsConstructorDescriptionAttributeCode(ByteData raw, ConstantPool cp, ClassFileVersion classFileVersion) -
Method Summary
Modifier and TypeMethodDescriptionanalyse()voidcollectTypeUsages(TypeUsageCollector collector) intintlongvoidvoid
-
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:
collectTypeUsagesin interfaceTypeUsageCollectable- Overrides:
collectTypeUsagesin classAttribute
-
releaseCode
public void releaseCode() -
getAttributes
-