javassist.bytecode.stackmap
Class TypedBlock
java.lang.Object
javassist.bytecode.stackmap.BasicBlock
javassist.bytecode.stackmap.TypedBlock
public class TypedBlock
- extends BasicBlock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
stackTop
public int stackTop
numLocals
public int numLocals
stackTypes
public TypeData[] stackTypes
localsTypes
public TypeData[] localsTypes
inputs
public boolean[] inputs
updating
public boolean updating
status
public int status
localsUsage
public byte[] localsUsage
TypedBlock
protected TypedBlock(int pos)
makeBlocks
public static TypedBlock[] makeBlocks(MethodInfo minfo,
CodeAttribute ca,
boolean optimize)
throws BadBytecode
- Divides the method body into basic blocks.
The type information of the first block is initialized.
- Parameters:
optmize
- if it is true and the method does not include
branches, this method returns null.
- Throws:
BadBytecode
toString2
protected void toString2(java.lang.StringBuffer sbuf)
- Overrides:
toString2
in class BasicBlock
alreadySet
public boolean alreadySet()
setStackMap
public void setStackMap(int st,
TypeData[] stack,
int nl,
TypeData[] locals)
throws BadBytecode
- Throws:
BadBytecode
resetNumLocals
public void resetNumLocals()
getRetType
public static java.lang.String getRetType(java.lang.String desc)
Copyright © 2011. All Rights Reserved.