Package org.apache.bcel.generic
Class MethodGen.BranchStack
- java.lang.Object
-
- org.apache.bcel.generic.MethodGen.BranchStack
-
- Enclosing class:
- MethodGen
static final class MethodGen.BranchStack extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Stack<MethodGen.BranchTarget>
branchTargets
private java.util.Hashtable<InstructionHandle,MethodGen.BranchTarget>
visitedTargets
-
Constructor Summary
Constructors Constructor Description BranchStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodGen.BranchTarget
pop()
void
push(InstructionHandle target, int stackDepth)
private MethodGen.BranchTarget
visit(InstructionHandle target, int stackDepth)
private boolean
visited(InstructionHandle target)
-
-
-
Field Detail
-
branchTargets
private final java.util.Stack<MethodGen.BranchTarget> branchTargets
-
visitedTargets
private final java.util.Hashtable<InstructionHandle,MethodGen.BranchTarget> visitedTargets
-
-
Method Detail
-
push
public void push(InstructionHandle target, int stackDepth)
-
pop
public MethodGen.BranchTarget pop()
-
visit
private MethodGen.BranchTarget visit(InstructionHandle target, int stackDepth)
-
visited
private boolean visited(InstructionHandle target)
-
-