public class TypedBlock extends BasicBlock
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TypedBlock.Maker |
BasicBlock.Catch| Modifier and Type | Field | Description |
|---|---|---|
TypeData[] |
localsTypes |
|
int |
numLocals |
|
int |
stackTop |
|
TypeData[] |
stackTypes |
| Modifier | Constructor | Description |
|---|---|---|
protected |
TypedBlock(int pos) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
alreadySet() |
|
static String |
getRetType(String desc) |
|
static TypedBlock[] |
makeBlocks(MethodInfo minfo,
CodeAttribute ca,
boolean optimize) |
Divides the method body into basic blocks.
|
void |
resetNumLocals() |
|
void |
setStackMap(int st,
TypeData[] stack,
int nl,
TypeData[] locals) |
|
protected void |
toString2(StringBuffer sbuf) |
find, toStringpublic int stackTop
public int numLocals
public TypeData[] localsTypes
public TypeData[] stackTypes
public static TypedBlock[] makeBlocks(MethodInfo minfo, CodeAttribute ca, boolean optimize) throws BadBytecode
optimize - if it is true and the method does not include
branches, this method returns null.BadBytecodeprotected void toString2(StringBuffer sbuf)
toString2 in class BasicBlockpublic boolean alreadySet()
public void setStackMap(int st,
TypeData[] stack,
int nl,
TypeData[] locals)
throws BadBytecode
BadBytecodepublic void resetNumLocals()
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.