public class CodeAttribute extends AttributeInfo
AttributeInfo.AttributeContext| Constructor and Description |
|---|
CodeAttribute(String name,
DataInputStream is,
ConstantPool constantPool) |
| Modifier and Type | Method and Description |
|---|---|
AttributeInfo[] |
getAttributes() |
byte[] |
getCode() |
ExceptionTableEntry[] |
getExceptionTable() |
int |
getMaxLocals() |
int |
getMaxStack() |
void |
setAttributes(AttributeInfo[] attributes) |
void |
setCode(byte[] code) |
void |
setExceptionTable(ExceptionTableEntry[] exceptionTable) |
void |
setMaxLocals(int maxLocals) |
void |
setMaxStack(int maxStack) |
String |
toString() |
addDependentClassNames, getContext, getName, readAttributes, readClassNames, skipLengthpublic CodeAttribute(String name, DataInputStream is, ConstantPool constantPool) throws IOException
IOExceptionpublic int getMaxStack()
public void setMaxStack(int maxStack)
public int getMaxLocals()
public void setMaxLocals(int maxLocals)
public byte[] getCode()
public void setCode(byte[] code)
public ExceptionTableEntry[] getExceptionTable()
public void setExceptionTable(ExceptionTableEntry[] exceptionTable)
public AttributeInfo[] getAttributes()
public void setAttributes(AttributeInfo[] attributes)
public String toString()
toString in class AttributeInfoCopyright © 2017–2025 Hans Jörg Heßmann. All rights reserved.