final class com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack
super_class: java.lang.Object
{
private final java.util.Stack<com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget> branchTargets;
descriptor: Ljava/util/Stack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Stack<Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;>;
private final java.util.Map<com.sun.org.apache.bcel.internal.generic.InstructionHandle, com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget> visitedTargets;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.branchTargets:Ljava/util/Stack;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.visitedTargets:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchStack;
public void push(com.sun.org.apache.bcel.internal.generic.InstructionHandle, int);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.visited:(Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.branchTargets:Ljava/util/Stack;
aload 0
aload 1
iload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.visit:(Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;I)Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchStack;
0 4 1 target Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
0 4 2 stackDepth I
MethodParameters:
Name Flags
target final
stackDepth final
public com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget pop();
descriptor: ()Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.branchTargets:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifne 3
1: aload 0
getfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.branchTargets:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget
astore 1
start local 1 2: aload 1
areturn
end local 1 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchStack;
2 3 1 bt Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;
private com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget visit(com.sun.org.apache.bcel.internal.generic.InstructionHandle, int);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;I)Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget
dup
aload 1
iload 2
invokespecial com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget.<init>:(Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;I)V
astore 3
start local 3 1: aload 0
getfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.visitedTargets:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchStack;
0 3 1 target Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
0 3 2 stackDepth I
1 3 3 bt Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchTarget;
MethodParameters:
Name Flags
target final
stackDepth final
private boolean visited(com.sun.org.apache.bcel.internal.generic.InstructionHandle);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack.visitedTargets:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/generic/MethodGen$BranchStack;
0 2 1 target Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
MethodParameters:
Name Flags
target final
}
SourceFile: "MethodGen.java"
NestHost: com.sun.org.apache.bcel.internal.generic.MethodGen
InnerClasses:
final BranchStack = com.sun.org.apache.bcel.internal.generic.MethodGen$BranchStack of com.sun.org.apache.bcel.internal.generic.MethodGen
final BranchTarget = com.sun.org.apache.bcel.internal.generic.MethodGen$BranchTarget of com.sun.org.apache.bcel.internal.generic.MethodGen