com.gomjabbar.classes.bytecode
Class CodeInfo
java.lang.Object
|
+--com.gomjabbar.classes.bytecode.CodeInfo
- public class CodeInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CodeInfo
public CodeInfo(PseudoClassFile pcf,
byte[] data)
getInstructionsCount
public int getInstructionsCount()
getInstruction
public InstructionInfo getInstruction(int i)
createCodeAttribute
public static AttributeInfo createCodeAttribute(PseudoClassFile pcf,
byte[] type_index,
CodeInfo code)
addAttribute
public void addAttribute(AttributeInfo ai)
addException
public void addException(CodeInfo.ExceptionInfo ei)
toBytes
public byte[] toBytes()
getMaxStack
public int getMaxStack()
getMaxLocals
public int getMaxLocals()
getCode
public byte[] getCode()
getExceptionsCount
public int getExceptionsCount()
getExceptions
public CodeInfo.ExceptionInfo[] getExceptions()
getAttributesCount
public int getAttributesCount()
getAttributes
public AttributeInfo[] getAttributes()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getLineNumberInfo
public CodeInfo.LineNumberInfo getLineNumberInfo()
getParent
public PseudoClassFile getParent()
getLocalVariableInfo
public CodeInfo.LocalVariableInfo getLocalVariableInfo()