public class TypedBlock extends BasicBlock
Modifier and Type | Class and Description |
---|---|
static class |
TypedBlock.Maker |
BasicBlock.Catch
Modifier and Type | Field and Description |
---|---|
TypeData[] |
localsTypes |
int |
numLocals |
int |
stackTop |
TypeData[] |
stackTypes |
Modifier | Constructor and Description |
---|---|
protected |
TypedBlock(int pos) |
Modifier and Type | Method and 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, toString
public int stackTop
public int numLocals
public TypeData[] localsTypes
public TypeData[] stackTypes
public static TypedBlock[] makeBlocks(MethodInfo minfo, CodeAttribute ca, boolean optimize) throws BadBytecode
optmize
- if it is true and the method does not include
branches, this method returns null.BadBytecode
protected void toString2(StringBuffer sbuf)
toString2
in class BasicBlock
public boolean alreadySet()
public void setStackMap(int st, TypeData[] stack, int nl, TypeData[] locals) throws BadBytecode
BadBytecode
public void resetNumLocals()
Copyright © 2024. All rights reserved.