public class AttributeCode extends Attribute
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_NAME |
Constructor and Description |
---|
AttributeCode(ByteData raw,
ConstantPool cp,
ClassFileVersion classFileVersion) |
Modifier and Type | Method and Description |
---|---|
Op04StructuredStatement |
analyse() |
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper d) |
AttributeMap |
getAttributes() |
int |
getCodeLength() |
ConstantPool |
getConstantPool() |
List<ExceptionTableEntry> |
getExceptionTableEntries() |
AttributeLineNumberTable |
getLineNumberTable() |
AttributeLocalVariableTable |
getLocalVariableTable() |
int |
getMaxLocals() |
long |
getRawByteLength() |
ByteData |
getRawData() |
String |
getRawName() |
AttributeRuntimeInvisibleTypeAnnotations |
getRuntimeInvisibleTypeAnnotations() |
AttributeRuntimeVisibleTypeAnnotations |
getRuntimeVisibleTypeAnnotations() |
void |
releaseCode() |
void |
setMethod(Method method) |
public static final String ATTRIBUTE_NAME
public AttributeCode(ByteData raw, ConstantPool cp, ClassFileVersion classFileVersion)
public void setMethod(Method method)
public Op04StructuredStatement analyse()
public ConstantPool getConstantPool()
public AttributeLocalVariableTable getLocalVariableTable()
public AttributeLineNumberTable getLineNumberTable()
public AttributeRuntimeVisibleTypeAnnotations getRuntimeVisibleTypeAnnotations()
public AttributeRuntimeInvisibleTypeAnnotations getRuntimeInvisibleTypeAnnotations()
public ByteData getRawData()
public List<ExceptionTableEntry> getExceptionTableEntries()
public int getMaxLocals()
public int getCodeLength()
public long getRawByteLength()
public String getRawName()
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
collectTypeUsages
in class Attribute
public void releaseCode()
public AttributeMap getAttributes()
Copyright © 2011-2021. All Rights Reserved.