Uses of Class
edu.umd.cs.findbugs.ba.BasicBlock
Packages that use BasicBlock
Package
Description
Main package for the FindBugs application - contains the engine class
(
FindBugs), the object model classes for bug
instances (BugInstance,
BugAnnotation), and other miscellany.A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
Support for analyzing code containing JSR-305 type qualifier annotations.
Implementation of dataflow analysis for checking whether obligations to close streams and other resources
(e.g., database objects) are satisfied.
Support for analyses based on the BCEL bytecode framework.
-
Uses of BasicBlock in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs that return BasicBlockModifier and TypeMethodDescriptionCallSite.getBasicBlock()Get the basic block where the call site is located.Constructors in edu.umd.cs.findbugs with parameters of type BasicBlockModifierConstructorDescriptionCallSite(org.apache.bcel.classfile.Method method, BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle) Constructor. -
Uses of BasicBlock in edu.umd.cs.findbugs.ba
Subclasses with type arguments of type BasicBlock in edu.umd.cs.findbugs.baModifier and TypeClassDescriptionclassSimple basic block abstraction for BCEL.classSimple control flow graph abstraction for BCEL.classAlgorithm to perform a depth first search on a CFG.classAn edge of a control flow graph.classAlgorithm to perform a reverse depth first search on a CFG.Classes in edu.umd.cs.findbugs.ba that implement interfaces with type arguments of type BasicBlockModifier and TypeClassDescription(package private) static classprivate static classprivate static classA Comparator to order the blocks in the reverse of the order in which they would be finished by a depth first search.Fields in edu.umd.cs.findbugs.ba declared as BasicBlockModifier and TypeFieldDescriptionprivate final BasicBlockBetterCFGBuilder2.WorkListItem.basicBlockprivate final BasicBlockLocation.basicBlockprivate BasicBlockCFG.LocationIterator.curBlockprivate BasicBlockCFG.entryprivate BasicBlockCFG.exitprivate BasicBlockDepthFirstSearch.firstRootprivate BasicBlockReverseDepthFirstSearch.firstRootFields in edu.umd.cs.findbugs.ba with type parameters of type BasicBlockModifier and TypeFieldDescriptionprivate final Iterator<BasicBlock> CFG.LocationIterator.blockIterprivate final ArrayList<BasicBlock> AbstractBlockOrder.blockListprivate final IdentityHashMap<BasicBlock, BasicBlock> BetterCFGBuilder2.Context.blockMapprivate final IdentityHashMap<BasicBlock, BasicBlock> BetterCFGBuilder2.Context.blockMapprivate final IdentityHashMap<org.apache.bcel.generic.InstructionHandle, BasicBlock> BetterCFGBuilder2.Subroutine.blockMapprivate final Comparator<BasicBlock> AbstractBlockOrder.comparatorprivate final IdentityHashMap<BasicBlock, List<BetterCFGBuilder2.EscapeTarget>> BetterCFGBuilder2.Subroutine.escapeTargetListMapprivate final IdentityHashMap<BasicBlock, Fact> BasicAbstractDataflowAnalysis.resultFactMapprivate final IdentityHashMap<BasicBlock, Fact> BasicAbstractDataflowAnalysis.startFactMapprivate final LinkedList<BasicBlock> BetterCFGBuilder2.Context.workListMethods in edu.umd.cs.findbugs.ba that return BasicBlockModifier and TypeMethodDescriptionCFG.allocate()Allocate a new BasicBlock.BetterCFGBuilder2.Subroutine.allocateBasicBlock()Allocate a new basic block in the subroutine.private BasicBlockBasicBlock.InstructionIterator.getBasicBlock()BetterCFGBuilder2.WorkListItem.getBasicBlock()Get the basic block.Location.getBasicBlock()Get the basic block.BetterCFGBuilder2.Context.getBlock(BasicBlock subBlock) Get the block in the result CFG corresponding to the given subroutine block.BetterCFGBuilder2.Subroutine.getBlock(org.apache.bcel.generic.InstructionHandle start) Get the basic block in the subroutine for the given instruction.BetterCFGBuilder2.Subroutine.getEntry()Get the entry block for the subroutine's CFG.CFG.getEntry()Get the entry node.BetterCFGBuilder2.Subroutine.getExit()Get the exit block for the subroutine's CFG.CFG.getExit()Get the exit node.protected BasicBlockDepthFirstSearch.getNextSearchTreeRoot()protected BasicBlockReverseDepthFirstSearch.getNextSearchTreeRoot()CFG.getPredecessorWithEdgeType(BasicBlock target, int edgeType) Get the first predecessor reachable from given edge type.BetterCFGBuilder2.Subroutine.getStartBlock()Get the start block for the subroutine's CFG.CFG.getSuccessorWithEdgeType(BasicBlock source, int edgeType) Get the first successor reachable from given edge type.private BasicBlockDataflow.logicalEntryBlock()Get the "logical" entry block of the CFG.CFG.lookupBlockByLabel(int blockLabel) Look up a BasicBlock by its unique label.BetterCFGBuilder2.Context.nextItem()Get the next work list item (basic block to be inlined).Methods in edu.umd.cs.findbugs.ba that return types with arguments of type BasicBlockModifier and TypeMethodDescriptionAbstractBlockOrder.blockIterator()BlockOrder.blockIterator()Return an Iterator which visits the basic blocks in order.CFG.blockIterator()Get an Iterator over the nodes (BasicBlocks) of the control flow graph.CFG.blocks()Get Collection of basic blocks whose IDs are specified by given BitSet.CFG.getBlocksContainingInstructionWithOffset(int offset) Get a Collection of basic blocks which contain the bytecode instruction with given offset.Methods in edu.umd.cs.findbugs.ba with parameters of type BasicBlockModifier and TypeMethodDescriptionvoidPath.acceptVisitorStartingFromLocation(CFG cfg, PathVisitor visitor, BasicBlock startBlock, org.apache.bcel.generic.InstructionHandle startHandle) Accept a PathVisitor, starting from a given BasicBlock and InstructionHandle.voidBetterCFGBuilder2.Subroutine.addEdge(BasicBlock sourceBlock, BasicBlock destBlock, int edgeType) Add an edge to the subroutine's CFG.voidBetterCFGBuilder2.Subroutine.addEdgeAndExplore(BasicBlock sourceBlock, org.apache.bcel.generic.InstructionHandle target, int edgeType) Add a control flow edge to the subroutine.protected EdgeCFG.allocateEdge(BasicBlock source, BasicBlock target) CFGPrinter.blockAnnotate(BasicBlock block) DataflowCFGPrinter.blockAnnotate(BasicBlock bb) private static StringDataflow.blockId(BasicBlock bb) CFGPrinter.blockStartAnnotate(BasicBlock block) DataflowCFGPrinter.blockStartAnnotate(BasicBlock bb) intAbstractBlockOrder.compare(BasicBlock b1, BasicBlock b2) intBlockOrder.compare(BasicBlock b1, BasicBlock b2) Return relative order of blocks.intDataflow.BackwardProgramOrder.compare(BasicBlock o1, BasicBlock o2) intDataflow.ForwardProgramOrder.compare(BasicBlock o1, BasicBlock o2) intReverseDFSOrder.ReverseDFSComparator.compare(BasicBlock a, BasicBlock b) intReversePostOrder.ReversePostfixComparator.compare(BasicBlock aa, BasicBlock bb) CFG.createEdge(BasicBlock source, BasicBlock dest, int type) Add a unique edge to the graph.private static voidDataflow.debug(BasicBlock bb, BasicBlock pred, Edge edge, String msg) private static voidDataflow.debug(BasicBlock bb, String msg) BetterCFGBuilder2.Subroutine.escapeTargetIterator(BasicBlock sourceBlock) Get an Iterator over the EscapeTargets of given basic block.AbstractDominatorsAnalysis.getAllDominatedBy(BasicBlock dominator) Get a bitset containing the unique IDs of all blocks in CFG dominated (or postdominated, depending on how the analysis was done) by given block.AbstractDominatorsAnalysis.getAllDominatorsOf(BasicBlock block) Get a bitset containing the unique IDs of all blocks which dominate (or postdominate) the given block.BetterCFGBuilder2.Context.getBlock(BasicBlock subBlock) Get the block in the result CFG corresponding to the given subroutine block.static LocationLocation.getFirstLocation(BasicBlock basicBlock) CFG.getIncomingEdgeWithType(BasicBlock basicBlock, int edgeType) Get the first incoming edge in basic block with given type.static LocationLocation.getLastLocation(BasicBlock basicBlock) intCFG.getNumNonExceptionSucessors(BasicBlock block) Get number of non-exception control successors of given basic block.CFG.getOutgoingEdgeWithType(BasicBlock basicBlock, int edgeType) Get the first outgoing edge in basic block with given type.CFG.getPredecessorWithEdgeType(BasicBlock target, int edgeType) Get the first predecessor reachable from given edge type.BasicAbstractDataflowAnalysis.getResultFact(BasicBlock block) Dataflow.getResultFact(BasicBlock block) Get dataflow facts for end of given block.DataflowAnalysis.getResultFact(BasicBlock block) Get the result fact for given basic block.BasicAbstractDataflowAnalysis.getStartFact(BasicBlock block) Dataflow.getStartFact(BasicBlock block) Get dataflow facts for start of given block.DataflowAnalysis.getStartFact(BasicBlock block) Get the start fact for given basic block.CFG.getSuccessorWithEdgeType(BasicBlock source, int edgeType) Get the first successor reachable from given edge type.private voidBetterCFGBuilder2.handleExceptions(BetterCFGBuilder2.Subroutine subroutine, org.apache.bcel.generic.InstructionHandle pei, BasicBlock etb) Add exception edges for given instruction.CFGPrinter.instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle, BasicBlock bb) DataflowCFGPrinter.instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle, BasicBlock bb) protected Iterator<org.apache.bcel.generic.InstructionHandle> CFGPrinter.instructionIterator(BasicBlock bb) booleanBetterCFGBuilder2.Subroutine.isExitBlock(BasicBlock block) Is System.exit() called at the end of this block?booleanResourceTracker.isResourceClose(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, Resource resource, ResourceValueFrame frame) Determine if the given instruction is the site where a resource is closed.ResourceTracker.isResourceCreation(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) Determine if the given instruction is the site where a resource is created.booleanBetterCFGBuilder2.Subroutine.isReturnBlock(BasicBlock block) Does the method return at the end of this block?booleanBetterCFGBuilder2.Subroutine.isUnhandledExceptionBlock(BasicBlock block) Does this block throw an unhandled exception?Dataflow.logicalPredecessorEdgeIterator(BasicBlock block) Return an Iterator over edges that connect given block to its logical predecessors.private FactBasicAbstractDataflowAnalysis.lookupOrCreateFact(Map<BasicBlock, Fact> map, BasicBlock block) voidBetterCFGBuilder2.Context.mapBlock(BasicBlock subBlock, BasicBlock resultBlock) Map a basic block in a subroutine to the corresponding block in the resulting CFG.booleanResourceTracker.mightCloseResource(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) Determine if the given instruction is the site where a resource is closed.voidBetterCFGBuilder2.Subroutine.setExitBlock(BasicBlock block) Indicate that System.exit() is called at the end of the given block.voidBetterCFGBuilder2.Subroutine.setReturnBlock(BasicBlock block) Indicate that the method returns at the end of the given block.voidBetterCFGBuilder2.Subroutine.setUnhandledExceptionBlock(BasicBlock block) Indicate that an unhandled exception may be thrown by the given block.voidAbstractDataflowAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, Fact start, Fact result) voidAbstractDominatorsAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, BitSet start, BitSet result) voidBlockTypeAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, BlockType start, BlockType result) voidDataflowAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, Fact start, Fact result) Transfer function for the analysis.abstract voidAbstractDataflowAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, Fact fact) Transfer function for a single instruction.voidLiveLocalStoreAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, BitSet fact) voidLockAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, LockSet fact) voidResourceValueAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, ResourceValueFrame fact) abstract voidResourceValueFrameModelingVisitor.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock) Subclasses must override this to model the effect of the given instruction on the current frame.voidReturnPathAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, ReturnPath fact) voidStackDepthAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, StackDepth fact) voidPathVisitor.visitBasicBlock(BasicBlock basicBlock) Start to visit the given BasicBlock.Method parameters in edu.umd.cs.findbugs.ba with type arguments of type BasicBlockModifier and TypeMethodDescriptionprivate FactBasicAbstractDataflowAnalysis.lookupOrCreateFact(Map<BasicBlock, Fact> map, BasicBlock block) Constructors in edu.umd.cs.findbugs.ba with parameters of type BasicBlockModifierConstructorDescriptionEdge(BasicBlock source, BasicBlock dest) Constructor.Location(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock) Constructor.WorkListItem(org.apache.bcel.generic.InstructionHandle start, BasicBlock basicBlock) Constructor.Constructor parameters in edu.umd.cs.findbugs.ba with type arguments of type BasicBlockModifierConstructorDescriptionprotectedAbstractBlockOrder(CFG cfg, Comparator<BasicBlock> comparator) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.bcp
Fields in edu.umd.cs.findbugs.ba.bcp declared as BasicBlockModifier and TypeFieldDescriptionprivate final BasicBlockPatternElementMatch.basicBlockprivate final BasicBlockPatternMatcher.State.basicBlockFields in edu.umd.cs.findbugs.ba.bcp with type parameters of type BasicBlockModifier and TypeFieldDescriptionprivate final IdentityHashMap<BasicBlock, BasicBlock> PatternMatcher.visitedBlockMapprivate final IdentityHashMap<BasicBlock, BasicBlock> PatternMatcher.visitedBlockMapprivate final LinkedList<BasicBlock> PatternMatcher.workListMethods in edu.umd.cs.findbugs.ba.bcp that return BasicBlockModifier and TypeMethodDescriptionPatternElementMatch.getBasicBlock()Get the basic block containing the matched instruction.PatternMatcher.State.getBasicBlock()Get basic block.Methods in edu.umd.cs.findbugs.ba.bcp with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate voidPatternMatcher.attemptMatch(BasicBlock basicBlock, BasicBlock.InstructionIterator instructionIterator) Attempt to begin a match.Constructors in edu.umd.cs.findbugs.ba.bcp with parameters of type BasicBlockModifierConstructorDescriptionPatternElementMatch(PatternElement patternElement, org.apache.bcel.generic.InstructionHandle matchedInstruction, BasicBlock basicBlock, int matchCount, PatternElementMatch prev) Constructor.State(BasicBlock basicBlock, BasicBlock.InstructionIterator instructionIterator, PatternElement patternElement) Constructor.State(PatternMatcher.State parent, BasicBlock basicBlock, BasicBlock.InstructionIterator instructionIterator, PatternElement patternElement, int matchCount, PatternElementMatch currentMatch, BindingSet bindingSet, boolean canFork) Constructor. -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.ca
Methods in edu.umd.cs.findbugs.ba.ca with parameters of type BasicBlockModifier and TypeMethodDescriptionvoidCallListAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, CallList fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.constant
Methods in edu.umd.cs.findbugs.ba.constant with parameters of type BasicBlockModifier and TypeMethodDescriptionvoidConstantAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, ConstantFrame frame) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.deref
Methods in edu.umd.cs.findbugs.ba.deref with parameters of type BasicBlockModifier and TypeMethodDescriptionvoidUnconditionalValueDerefAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, UnconditionalValueDerefSet fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.heap
Methods in edu.umd.cs.findbugs.ba.heap with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate voidFieldSetAnalysis.handleInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, FieldSet fact) voidFieldSetAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, FieldSet fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.jsr305
Methods in edu.umd.cs.findbugs.ba.jsr305 with parameters of type BasicBlockModifier and TypeMethodDescriptionvoidBackwardTypeQualifierDataflowAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, TypeQualifierValueSet fact) voidTypeQualifierDataflowAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, TypeQualifierValueSet fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate voidNullDerefAndRedundantComparisonFinder.analyzeIfNullBranch(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle lastHandle) This is called for both IFNULL and IFNONNULL instructions.private voidNullDerefAndRedundantComparisonFinder.analyzeNullCheck(IsNullValueDataflow invDataflow, BasicBlock basicBlock) private voidNullDerefAndRedundantComparisonFinder.analyzeRefComparisonBranch(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle lastHandle) voidIsNullValueAnalysis.endTransfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, IsNullValueFrame result) private IsNullConditionDecisionIsNullValueAnalysis.getDecision(BasicBlock basicBlock, IsNullValueFrame lastFrame) Determine if the given basic block ends in a redundant null comparison.voidIsNullValueAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, IsNullValueFrame start, IsNullValueFrame result) voidReturnPathTypeAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, ReturnPathType start, ReturnPathType result) voidIsNullValueAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, IsNullValueFrame fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.obl
Methods in edu.umd.cs.findbugs.ba.obl with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate org.apache.bcel.generic.TypeObligationAnalysis.acmpNullCheck(short opcode, Edge edge, org.apache.bcel.generic.InstructionHandle last, BasicBlock sourceBlock) booleanInstructionActionCache.addsObligation(BasicBlock block, org.apache.bcel.generic.InstructionHandle handle, Obligation obligation) booleanInstructionActionCache.deletesObligation(BasicBlock block, org.apache.bcel.generic.InstructionHandle handle, Obligation obligation) private voidObligationAnalysis.endTransfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, StateSet result) InstructionActionCache.getActions(BasicBlock block, org.apache.bcel.generic.InstructionHandle handle) private booleanInstructionActionCache.hasAction(BasicBlock block, org.apache.bcel.generic.InstructionHandle handle, Obligation obligation, ObligationPolicyDatabaseActionType actionType) private org.apache.bcel.generic.TypeObligationAnalysis.nullCheck(short opcode, Edge edge, org.apache.bcel.generic.InstructionHandle last, BasicBlock sourceBlock) voidObligationAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, StateSet start, StateSet result) voidObligationAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, StateSet fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.type
Fields in edu.umd.cs.findbugs.ba.type with type parameters of type BasicBlockModifier and TypeFieldDescriptionprivate final Map<BasicBlock, TypeAnalysis.InstanceOfCheck> TypeAnalysis.instanceOfCheckMapprivate final Map<BasicBlock, TypeAnalysis.CachedExceptionSet> TypeAnalysis.thrownExceptionSetMapMethods in edu.umd.cs.findbugs.ba.type with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate TypeAnalysis.CachedExceptionSetTypeAnalysis.computeBlockExceptionSet(BasicBlock basicBlock, TypeFrame result) Compute the set of exceptions that can be thrown from the given basic block.private ExceptionSetTypeAnalysis.computeThrownExceptionTypes(BasicBlock basicBlock) Compute the set of exception types that can be thrown by given basic block.private voidTypeAnalysis.computeThrownExceptionTypes(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, TypeFrame result) private TypeAnalysis.CachedExceptionSetTypeAnalysis.getCachedExceptionSet(BasicBlock basicBlock) Get the cached set of exceptions that can be thrown from given basic block.voidTypeAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, TypeFrame start, TypeFrame result) voidTypeAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, TypeFrame fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.ba.vna
Fields in edu.umd.cs.findbugs.ba.vna with type parameters of type BasicBlockModifier and TypeFieldDescriptionprivate final IdentityHashMap<BasicBlock, ValueNumber> ValueNumberAnalysis.exceptionHandlerValueNumberMapMethods in edu.umd.cs.findbugs.ba.vna with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate ValueNumberValueNumberAnalysis.getExceptionValueNumber(BasicBlock handlerBlock) Mark value numbers in a value number frame for compaction.voidValueNumberAnalysis.transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, ValueNumberFrame start, ValueNumberFrame result) voidValueNumberAnalysis.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock, ValueNumberFrame fact) -
Uses of BasicBlock in edu.umd.cs.findbugs.classfile.engine.bcel
Fields in edu.umd.cs.findbugs.classfile.engine.bcel declared as BasicBlockMethods in edu.umd.cs.findbugs.classfile.engine.bcel with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate static LocationValueRangeAnalysisFactory.getLocation(BasicBlock block) Constructors in edu.umd.cs.findbugs.classfile.engine.bcel with parameters of type BasicBlock -
Uses of BasicBlock in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as BasicBlockModifier and TypeFieldDescription(package private) BasicBlockFindUselessObjects.ExceptionLocation.b(package private) BasicBlockFindUnsatisfiedObligation.MethodChecker.PostProcessingPathVisitor.curBlockMethods in edu.umd.cs.findbugs.detect with parameters of type BasicBlockModifier and TypeMethodDescriptionprivate voidDuplicateBranches.findIfElseDuplicates(CFG cfg, org.apache.bcel.classfile.Method method, BasicBlock bb) private voidDuplicateBranches.findSwitchDuplicates(CFG cfg, org.apache.bcel.classfile.Method method, BasicBlock bb) private org.apache.bcel.generic.InstructionHandleDuplicateBranches.findThenFinish(CFG cfg, BasicBlock thenBB, int elsePos) private static org.apache.bcel.generic.InstructionHandleDuplicateBranches.getDeepFirstInstruction(CFG cfg, BasicBlock bb) Like bb.getFirstInstruction() except that if null is returned it will follow the FALL_THROUGH_EDGE (if any)booleanFindUnreleasedLock.LockResourceTracker.isResourceClose(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, Lock resource, ResourceValueFrame frame) booleanStreamResourceTracker.isResourceClose(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, Stream resource, ResourceValueFrame frame) FindUnreleasedLock.LockResourceTracker.isResourceCreation(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) StreamResourceTracker.isResourceCreation(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) booleanStreamResourceTracker.isResourceOpen(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, Stream resource, ResourceValueFrame frame) booleanStream.isStreamClose(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, ResourceValueFrame frame, RepositoryLookupFailureCallback lookupFailureCallback) booleanStream.isStreamOpen(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, ResourceValueFrame frame) static booleanFindNullDeref.isThrower(BasicBlock target) static booleanNoiseNullDeref.isThrower(BasicBlock target) booleanFindUnreleasedLock.LockResourceTracker.mightCloseResource(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) booleanStreamResourceTracker.mightCloseResource(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) static booleanStream.mightCloseStream(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) voidFindUnreleasedLock.LockFrameModelingVisitor.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock) voidStreamFrameModelingVisitor.transferInstruction(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock) voidFindUnsatisfiedObligation.MethodChecker.PostProcessingPathVisitor.visitBasicBlock(BasicBlock basicBlock) Constructors in edu.umd.cs.findbugs.detect with parameters of type BasicBlockModifierConstructorDescriptionExceptionLocation(TypeAnalysis ta, ValueNumberAnalysis vna, BasicBlock block)