Package edu.umd.cs.findbugs.ba
Class BetterCFGBuilder2.EscapeTarget
java.lang.Object
edu.umd.cs.findbugs.ba.BetterCFGBuilder2.EscapeTarget
- Enclosing class:
BetterCFGBuilder2
A placeholder for a control edge that escapes its subroutine to return
control back to an outer (calling) subroutine. It will turn into a real
edge during inlining.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEscapeTarget
(org.apache.bcel.generic.InstructionHandle target, int edgeType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the edge type.org.apache.bcel.generic.InstructionHandle
Get the target instruction.
-
Field Details
-
target
private final org.apache.bcel.generic.InstructionHandle target -
edgeType
-
-
Constructor Details
-
EscapeTarget
Constructor.- Parameters:
target
- the target instruction in a calling subroutineedgeType
- the type of edge that should be created when the subroutine is inlined into its calling context
-
-
Method Details
-
getTarget
public org.apache.bcel.generic.InstructionHandle getTarget()Get the target instruction. -
getEdgeType
Get the edge type.
-