Class CFGUtils
java.lang.Object
org.sonar.java.cfg.CFGUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturns whether the block is a finally block whose normal continuation can differ from its jump exit continuation.static booleanisJumpThroughFinallyWithDistinctContinuation(Tree terminator, CFG.Block successor) Returns whether a jump reaching the provided successor through a finally block has a continuation that differs from the fall-through path after the finally block.static CFG.BlocknonEmptySuccessor(CFG.Block initialBlock) Returns the first non-empty block reachable from the initial block by traversing single-successor empty blocks.
-
Method Details
-
nonEmptySuccessor
-
isFinallyBlockWithDistinctContinuation
Returns whether the block is a finally block whose normal continuation can differ from its jump exit continuation. -
isJumpThroughFinallyWithDistinctContinuation
-