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, 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 © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.