Uses of Class
org.sonar.java.cfg.CFG.Block
Packages that use CFG.Block
-
Uses of CFG.Block in org.sonar.java.cfg
Fields in org.sonar.java.cfg with type parameters of type CFG.BlockMethods in org.sonar.java.cfg that return CFG.BlockModifier and TypeMethodDescriptionCFG.entryBlock()CFG.Block.exitBlock()CFG.exitBlock()CFG.Block.falseBlock()static CFG.BlockCFGUtils.nonEmptySuccessor(CFG.Block initialBlock) Returns the first non-empty block reachable from the initial block by traversing single-successor empty blocks.CFG.Block.successorWithoutJump()This method makes the implementation of RSPEC-3626 almost trivial.CFG.Block.trueBlock()Methods in org.sonar.java.cfg that return types with arguments of type CFG.BlockModifier and TypeMethodDescriptionCFG.blocks()CFG.Block.exceptions()CFG.Block.predecessors()CFG.reversedBlocks()CFG.Block.successors()Methods in org.sonar.java.cfg with parameters of type CFG.BlockModifier and TypeMethodDescriptionvoidCFG.Block.addExitSuccessor(CFG.Block block) voidCFG.Block.addFalseSuccessor(CFG.Block successor) voidCFG.Block.addTrueSuccessor(CFG.Block successor) static booleanCFGUtils.isFinallyBlockWithDistinctContinuation(CFG.Block block) Returns whether the block is a finally block whose normal continuation can differ from its jump exit continuation.static booleanCFGUtils.isJumpThroughFinallyWithDistinctContinuation(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.BlockCFGUtils.nonEmptySuccessor(CFG.Block initialBlock) Returns the first non-empty block reachable from the initial block by traversing single-successor empty blocks.