| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public TypeData[] | |
| public int | |
| public int | |
| public TypeData[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private static int | |
| public static String | |
| pack-priv void | initFirstBlock(int
the first basic block that this method initializes. maxStack, int maxLocals, String a dot-separated fully qualified class name.
For example, className, String javassist.bytecode.stackmap.BasicBlock.method descriptor. methodDesc, boolean true if the method is a static method. isStatic, boolean true if the method is a constructor. isConstructor)Initializes the first block by the given method descriptor. |
| public static TypedBlock[] | makeBlocks(MethodInfo minfo, CodeAttribute ca, boolean
if it is true and the method does not include
branches, this method returns null. optimize)Divides the method body into basic blocks. |
| private void | |
| public void | |
| public void | |
| private static TypeData | |
| protected void |
| localsTypes | back to summary |
|---|---|
| public TypeData[] localsTypes | |
| numLocals | back to summary |
|---|---|
| public int numLocals | |
| stackTop | back to summary |
|---|---|
| public int stackTop | |
| stackTypes | back to summary |
|---|---|
| public TypeData[] stackTypes | |
| TypedBlock | back to summary |
|---|---|
| protected TypedBlock(int pos) | |
| alreadySet | back to summary |
|---|---|
| public boolean alreadySet() | |
| descToTag | back to summary |
|---|---|
| private static int descToTag(String desc, int i, int n, TypeData[] types) throws BadBytecode | |
| getRetType | back to summary |
|---|---|
| public static String getRetType(String desc) | |
| initFirstBlock | back to summary |
|---|---|
| pack-priv void initFirstBlock(int maxStack, int maxLocals, String className, String methodDesc, boolean isStatic, boolean isConstructor) throws BadBytecode Initializes the first block by the given method descriptor.
| |
| makeBlocks | back to summary |
|---|---|
| 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.
| |
| printTypes | back to summary |
|---|---|
| private void printTypes(StringBuilder sbuf, int size, TypeData[] types) | |
| resetNumLocals | back to summary |
|---|---|
| public void resetNumLocals() | |
| setStackMap | back to summary |
|---|---|
| public void setStackMap(int st, TypeData[] stack, int nl, TypeData[] locals) throws BadBytecode | |
| toPrimitiveTag | back to summary |
|---|---|
| private static TypeData toPrimitiveTag(char c) | |
| toString2 | back to summary |
|---|---|
| protected void toString2(StringBuilder sbuf) Overrides javassist.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BasicBlock[] | |
| protected BasicBlock |
| Maker | back to summary |
|---|---|
| public Maker() | |
| makeArray | back to summary |
|---|---|
| protected BasicBlock[] makeArray(int size) Overrides javassist.
| |
| makeBlock | back to summary |
|---|---|
| protected BasicBlock makeBlock(int pos) Overrides javassist.
| |