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, skipLength
public CodeAttribute(String name, DataInputStream is, ConstantPool constantPool) throws IOException
IOException
public 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 AttributeInfo
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.