Package edu.umd.cs.findbugs.ba
Class BetterCFGBuilder2.WorkListItem
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.BetterCFGBuilder2.WorkListItem
-
- Enclosing class:
- BetterCFGBuilder2
private static class BetterCFGBuilder2.WorkListItem extends java.lang.ObjectA work list item for creating the CFG for a subroutine.
-
-
Field Summary
Fields Modifier and Type Field Description private BasicBlockbasicBlockprivate org.apache.bcel.generic.InstructionHandlestart
-
Constructor Summary
Constructors Constructor Description WorkListItem(org.apache.bcel.generic.InstructionHandle start, BasicBlock basicBlock)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicBlockgetBasicBlock()Get the basic block.org.apache.bcel.generic.InstructionHandlegetStartInstruction()Get the start instruction.
-
-
-
Field Detail
-
start
private final org.apache.bcel.generic.InstructionHandle start
-
basicBlock
private final BasicBlock basicBlock
-
-
Constructor Detail
-
WorkListItem
public WorkListItem(org.apache.bcel.generic.InstructionHandle start, BasicBlock basicBlock)Constructor.- Parameters:
start- first instruction in the basic blockbasicBlock- the basic block to build
-
-
Method Detail
-
getStartInstruction
public org.apache.bcel.generic.InstructionHandle getStartInstruction()
Get the start instruction.
-
getBasicBlock
public BasicBlock getBasicBlock()
Get the basic block.
-
-