Uses of Class
edu.umd.cs.findbugs.BugInstance
-
Packages that use BugInstance Package Description edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance,BugAnnotation), and other miscellany.edu.umd.cs.findbugs.bugReporter edu.umd.cs.findbugs.config edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.filter edu.umd.cs.findbugs.gui2 edu.umd.cs.findbugs.props edu.umd.cs.findbugs.sarif The package providing aBugReporterimplementation which produces report in SARIF format.edu.umd.cs.findbugs.workflow -
-
Uses of BugInstance in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs declared as BugInstance Modifier and Type Field Description private BugInstanceSAXBugCollectionHandler. bugInstanceprivate BugInstanceBugAccumulator. lastBugFields in edu.umd.cs.findbugs with type parameters of type BugInstance Modifier and Type Field Description private java.util.IdentityHashMap<BugInstance,BugCollection>FuzzyBugComparator. bugCollectionMapKeep track of which BugCollections the various BugInstances have come from.private java.util.TreeSet<BugInstance>SortedBugCollection. bugSetprivate java.util.Comparator<BugInstance>SortedBugCollection. comparatorprivate java.util.HashMap<java.lang.String,BugInstance>BugAccumulator. hashesprivate java.util.Map<BugInstance,BugAccumulator.Data>BugAccumulator. mapprivate java.util.HashSet<BugInstance>EmacsBugReporter. seenAlreadyprivate java.util.HashSet<BugInstance>PrintingBugReporter. seenAlreadyMethods in edu.umd.cs.findbugs that return BugInstance Modifier and Type Method Description BugInstanceBugInstance. add(BugAnnotation annotation)BugInstanceBugInstance. addAnnotations(java.util.Collection<? extends BugAnnotation> annotationCollection)Add a Collection of BugAnnotations.BugInstanceBugInstance. addCalledMethod(XMethod m)BugInstanceBugInstance. addCalledMethod(DismantleBytecode visitor)Add a method annotation for the method which has been called by the method currently being visited by given visitor.BugInstanceBugInstance. addCalledMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)Add a method annotation.BugInstanceBugInstance. addCalledMethod(org.apache.bcel.generic.ConstantPoolGen cpg, org.apache.bcel.generic.InvokeInstruction inv)Add a method annotation for the method which is called by given instruction.BugInstanceBugInstance. addCalledMethod(org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InvokeInstruction inv)Add a method annotation for the method which is called by given instruction.BugInstanceBugInstance. addClass(ClassDescriptor classDescriptor)Add a class annotation.BugInstanceBugInstance. addClass(PreorderVisitor visitor)Add a class annotation for the class that the visitor is currently visiting.BugInstanceBugInstance. addClass(java.lang.String className)Add a class annotation.BugInstanceBugInstance. addClass(java.lang.String className, java.lang.String sourceFileName)Add a class annotation.BugInstanceBugInstance. addClass(org.apache.bcel.classfile.JavaClass jclass)Add a class annotation.BugInstanceBugInstance. addClass(org.objectweb.asm.tree.ClassNode classNode)Add a class annotation for the classNode.BugInstanceBugInstance. addClassAndMethod(XMethod xMethod)BugInstanceBugInstance. addClassAndMethod(MethodDescriptor methodDescriptor)BugInstanceBugInstance. addClassAndMethod(MethodAnnotation methodAnnotation)Add class and method annotations for given method.BugInstanceBugInstance. addClassAndMethod(PreorderVisitor visitor)Add a class annotation and a method annotation for the class and method which the given visitor is currently visiting.BugInstanceBugInstance. addClassAndMethod(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)Add class and method annotations for given class and method.BugInstanceBugInstance. addClassAndMethod(org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile)Add class and method annotations for given method.BugInstanceBugInstance. addEqualsMethodUsed(ClassDescriptor expectedClass)BugInstanceBugInstance. addEqualsMethodUsed(java.util.Collection<XMethod> equalsMethods)BugInstanceBugInstance. addField(FieldVariable field)Add a field annotation for a FieldVariable matched in a ByteCodePattern.BugInstanceBugInstance. addField(XField xfield)Add a field annotation for an XField.BugInstanceBugInstance. addField(FieldDescriptor fieldDescriptor)Add a field annotation for a FieldDescriptor.BugInstanceBugInstance. addField(FieldAnnotation fieldAnnotation)Add a field annotationBugInstanceBugInstance. addField(PreorderVisitor visitor)BugInstanceBugInstance. addField(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSig, boolean isStatic)Add a field annotation.BugInstanceBugInstance. addField(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSig, int accessFlags)Add a field annotation.BugInstanceBugInstance. addFieldOrMethodValueSource(OpcodeStack.Item item)BugInstanceBugInstance. addFoundAndExpectedType(java.lang.String foundType, java.lang.String expectedType)BugInstanceBugInstance. addFoundAndExpectedType(org.apache.bcel.generic.Type foundType, org.apache.bcel.generic.Type expectedType)BugInstanceBugInstance. addInt(int value)Add an integer annotation.BugInstanceBugInstance. addMethod(JavaClassAndMethod classAndMethod)Add a method annotation.BugInstanceBugInstance. addMethod(XMethod xmethod)Add a MethodAnnotation from an XMethod.BugInstanceBugInstance. addMethod(MethodDescriptor method)Add a MethodAnnotation from an MethodDescriptor.BugInstanceBugInstance. addMethod(MethodAnnotation methodAnnotation)Add a method annotation.BugInstanceBugInstance. addMethod(PreorderVisitor visitor)Add a method annotation for the method which the given visitor is currently visiting.BugInstanceBugInstance. addMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)Add a method annotation.BugInstanceBugInstance. addMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, int accessFlags)Add a method annotation.BugInstanceBugInstance. addMethod(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)Add a method annotation.BugInstanceBugInstance. addMethod(org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile)Add a method annotation.BugInstanceBugInstance. addOptionalAnnotation(BugAnnotation annotation)BugInstanceBugInstance. addOptionalAnnotation(BugAnnotation annotation, java.lang.String role)BugInstanceBugInstance. addOptionalField(XField xfield)Add a field annotation for an XField.BugInstanceBugInstance. addOptionalLocalVariable(DismantleBytecode dbc, OpcodeStack.Item item)Local variable addersBugInstanceBugInstance. addOptionalUniqueAnnotations(BugAnnotation... annotations)BugInstanceBugInstance. addOptionalUniqueAnnotationsWithFallback(BugAnnotation fallback, BugAnnotation... annotations)BugInstanceBugInstance. addParameterAnnotation(int index, java.lang.String role)Add an annotation about a parameterBugInstanceBugInstance. addReferencedField(FieldAnnotation fa)Add a field annotation for the field referenced by the FieldAnnotation parameterBugInstanceBugInstance. addReferencedField(DismantleBytecode visitor)Add a field annotation for the field which has just been accessed by the method currently being visited by given visitor.BugInstanceBugInstance. addSomeSourceForTopTwoStackValues(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)BugInstanceBugInstance. addSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)BugInstanceBugInstance. addSourceLine(ClassContext classContext, PreorderVisitor visitor, int pc)Add a source line annotation for instruction whose PC is given in the method that the given visitor is currently visiting.BugInstanceBugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)Add source line annotation for given Location in a method.BugInstanceBugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.classfile.Method method, org.apache.bcel.generic.InstructionHandle handle)Add source line annotation for given Location in a method.BugInstanceBugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle handle)Add a source line annotation for the given instruction in the given method.BugInstanceBugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle start, org.apache.bcel.generic.InstructionHandle end)Add a source line annotation describing a range of instructions.BugInstanceBugInstance. addSourceLine(BytecodeScanningDetector visitor)Add a source line annotation for instruction currently being visited by given visitor.BugInstanceBugInstance. addSourceLine(BytecodeScanningDetector visitor, int pc)Add a source line annotation for instruction whose PC is given in the method that the given visitor is currently visiting.BugInstanceBugInstance. addSourceLine(MethodDescriptor methodDescriptor, Location location)Add source line annotation for given Location in a method.BugInstanceBugInstance. addSourceLine(SourceLineAnnotation sourceLine)Add a source line annotation.BugInstanceBugInstance. addSourceLineRange(ClassContext classContext, PreorderVisitor visitor, int startPC, int endPC)Add a source line annotation describing the source line numbers for a range of instructions in the method being visited by the given visitor.BugInstanceBugInstance. addSourceLineRange(BytecodeScanningDetector visitor, int startPC, int endPC)Add a source line annotation describing the source line numbers for a range of instructions in the method being visited by the given visitor.BugInstanceBugInstance. addString(char c)Add a String annotation.BugInstanceBugInstance. addString(java.lang.String value)Add a String annotation.BugInstanceBugInstance. addSuperclass(PreorderVisitor visitor)Add a class annotation for the superclass of the class the visitor is currently visiting.BugInstanceBugInstance. addType(ClassDescriptor c)BugInstanceBugInstance. addType(java.lang.String typeDescriptor)Add a type annotation.BugInstanceBugInstance. addType(org.apache.bcel.generic.Type type)BugInstanceBugInstance. addTypeOfNamedClass(java.lang.String typeName)BugInstanceBugInstance. addUnknownSourceLine(java.lang.String className, java.lang.String sourceFile)Add a non-specific source line annotation.BugInstanceBugInstance. addValueSource(OpcodeStack.Item item, DismantleBytecode dbc)BugInstanceBugInstance. addValueSource(OpcodeStack.Item item, org.apache.bcel.classfile.Method method, int pc)BugInstanceBugInstance. addVisitedField(PreorderVisitor visitor)Add a field annotation for the field which is being visited by given visitor.(package private) BugInstancePriorityAdjuster. adjustPriority(BugInstance bugInstance)Returns an instance with adjusted priority.BugInstanceClassWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)BugInstanceFieldWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)BugInstanceMethodWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)BugInstancePackageWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)BugInstanceParameterWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)abstract BugInstanceWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)BugInstanceBugInstance. describe(java.lang.String description)Add a description to the most recently added bug annotation.BugInstanceBugCollection. findBug(java.lang.String instanceHash, java.lang.String bugType, int lineNumber)BugInstanceSortedBugCollection. findBug(java.lang.String instanceHash, java.lang.String bugType, int lineNumber)BugInstanceSortedBugCollection. getMatching(BugInstance bugInstance)BugInstanceBugCollection. lookupFromUniqueId(java.lang.String uniqueId)Deprecated.BugInstanceSortedBugCollection. lookupFromUniqueId(java.lang.String uniqueId)Deprecated.BugInstanceBugInstance. lowerPriorityIfDeprecated()static BugInstanceObfuscate. obfuscate(BugInstance b)BugInstanceBugInstance. setProperty(java.lang.String name, java.lang.String value)Set value of given property.Methods in edu.umd.cs.findbugs that return types with arguments of type BugInstance Modifier and Type Method Description java.util.Collection<BugInstance>BugCollection. getCollection()Return the Collection storing the BugInstance objects.java.util.Collection<BugInstance>SortedBugCollection. getCollection()java.util.Iterator<BugInstance>BugCollection. iterator()Return an Iterator over all the BugInstance objects in the BugCollection.java.util.Iterator<BugInstance>SortedBugCollection. iterator()java.lang.Iterable<? extends BugInstance>BugAccumulator. uniqueBugs()Methods in edu.umd.cs.findbugs with parameters of type BugInstance Modifier and Type Method Description voidBugAccumulator. accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)voidBugAccumulator. accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, Location location)voidBugAccumulator. accumulateBug(BugInstance bug, BytecodeScanningDetector visitor)Accumulate a warning at source location currently being visited by given BytecodeScanningDetector.voidBugAccumulator. accumulateBug(BugInstance bug, SourceLineAnnotation sourceLine)Accumulate a warning at given source location.booleanBugCollection. add(BugInstance bugInstance)Add a BugInstance to this BugCollection.booleanBugCollection. add(BugInstance bugInstance, boolean updateActiveTime)Add a BugInstance to this BugCollection.booleanSortedBugCollection. add(BugInstance bugInstance)Add a BugInstance to this BugCollection.booleanSortedBugCollection. add(BugInstance bugInstance, boolean updateActiveTime)voidProjectStats. addBug(BugInstance bug)Called when a bug is reported.voidBugCounts. addError(BugInstance bug)voidPackageStats. addError(BugInstance bug)intPriorityAdjuster. adjustForDetector(BugInstance bugInstance)Adjust priority if the factory was forcibly enabled byExecutionPlanalthough the user did not select it.(package private) BugInstancePriorityAdjuster. adjustPriority(BugInstance bugInstance)Returns an instance with adjusted priority.protected voidTextUIBugReporter. checkBugInstance(BugInstance bugInstance)For debugging: check a BugInstance to make sure it is valid.intFuzzyBugComparator. compare(BugInstance lhs, BugInstance rhs)intSloppyBugComparator. compare(BugInstance lhs, BugInstance rhs)intSortedBugCollection.BugInstanceComparator. compare(BugInstance lhs, BugInstance rhs)intSortedBugCollection.MultiversionBugInstanceComparator. compare(BugInstance lhs, BugInstance rhs)intVersionInsensitiveBugComparator. compare(BugInstance lhs, BugInstance rhs)intWarningComparator. compare(BugInstance lhs, BugInstance rhs)intBugInstance. compareTo(BugInstance other)booleanSortedBugCollection. contains(BugInstance bugInstance)voidProjectPackagePrefixes. countBug(BugInstance b)protected abstract voidAbstractBugReporter. doReportBug(BugInstance bugInstance)Subclasses must override this.voidBugCollectionBugReporter. doReportBug(BugInstance bugInstance)protected voidEmacsBugReporter. doReportBug(BugInstance bugInstance)protected voidPrintingBugReporter. doReportBug(BugInstance bugInstance)voidSortingBugReporter. doReportBug(BugInstance bugInstance)voidXDocsBugReporter. doReportBug(BugInstance bugInstance)static intBugRanker. findRank(BugInstance bug)BugInstanceSortedBugCollection. getMatching(BugInstance bugInstance)java.lang.Iterable<? extends SourceLineAnnotation>BugAccumulator. locations(BugInstance bug)booleanClassWarningSuppressor. match(BugInstance bugInstance)booleanFieldWarningSuppressor. match(BugInstance bugInstance)booleanMethodWarningSuppressor. match(BugInstance bugInstance)booleanPackageWarningSuppressor. match(BugInstance bugInstance)booleanParameterWarningSuppressor. match(BugInstance bugInstance)booleanSuppressionMatcher. match(BugInstance b)booleanWarningSuppressor. match(BugInstance bugInstance)protected voidAbstractBugReporter. notifyObservers(BugInstance bugInstance)This should be called when a bug is reported by a subclass.static BugInstanceObfuscate. obfuscate(BugInstance b)protected voidEmacsBugReporter. printBug(BugInstance bugInstance)protected voidTextUIBugReporter. printBug(BugInstance bugInstance)Print bug in one-line format.protected voidXDocsBugReporter. printBug(BugInstance bugInstance)booleanSortedBugCollection. remove(BugInstance bugInstance)voidAbstractBugReporter. reportBug(BugInstance bugInstance)voidBugAccumulator. reportBug(BugInstance bug, BugAccumulator.Data d)voidBugReportDispatcher. reportBug(BugInstance bugInstance)voidBugReporter. reportBug(BugInstance bugInstance)Report a bug.voidBugReporterObserver. reportBug(BugInstance bugInstance)Called when a BugReporter reports a bug.voidCategoryFilteringBugReporter. reportBug(BugInstance bugInstance)voidDelegatingBugReporter. reportBug(BugInstance bugInstance)voidExcludingHashesBugReporter. reportBug(BugInstance bugInstance)voidFilterBugReporter. reportBug(BugInstance bugInstance)voidSynchronizedBugReporter. reportBug(BugInstance bugInstance)voidBugInstance. setHistory(BugInstance from)voidXDocsBugReporter. toElement(BugInstance bugInstance)Method parameters in edu.umd.cs.findbugs with type arguments of type BugInstance Modifier and Type Method Description voidSortedBugCollection. addAll(java.util.Collection<BugInstance> collection)Add a Collection of BugInstances to this BugCollection object.voidSortedBugCollection. addAll(java.util.Collection<BugInstance> collection, boolean updateActiveTime)Add a Collection of BugInstances to this BugCollection object.static voidSortedBugCollection. cloneAll(java.util.Collection<BugInstance> dest, java.util.Collection<BugInstance> source)Clone all of the BugInstance objects in the source Collection and add them to the destination Collection.Constructor parameters in edu.umd.cs.findbugs with type arguments of type BugInstance Constructor Description SortedBugCollection(ProjectStats projectStats, java.util.Comparator<BugInstance> comparator)Constructor.SortedBugCollection(ProjectStats projectStats, java.util.Comparator<BugInstance> comparator, Project project)SortedBugCollection(java.util.Comparator<BugInstance> comparator)Constructor. -
Uses of BugInstance in edu.umd.cs.findbugs.bugReporter
Methods in edu.umd.cs.findbugs.bugReporter with parameters of type BugInstance Modifier and Type Method Description voidMaxRankDecorator. reportBug(BugInstance bugInstance)voidSuppressionDecorator. reportBug(BugInstance bugInstance) -
Uses of BugInstance in edu.umd.cs.findbugs.config
Methods in edu.umd.cs.findbugs.config with parameters of type BugInstance Modifier and Type Method Description booleanProjectFilterSettings. displayWarning(BugInstance bugInstance)Return whether or not a warning should be displayed, according to the project filter settings. -
Uses of BugInstance in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as BugInstance Modifier and Type Field Description (package private) BugInstanceFindMaskedFields.RememberedBug. bugprivate BugInstanceQuestionableBooleanAssignment. bugprivate BugInstanceDontAssertInstanceofInTests. currBugprivate BugInstanceDumbMethods. gcInvocationBugReport(package private) BugInstanceFunctionsThatMightBeMistakenForProcedures. inferredMethod(package private) BugInstanceFindRefComparison.WarningWithProperties. instance(package private) BugInstanceConfusionBetweenInheritedAndOuterMethod. iteratorBugprivate BugInstanceFindRoughConstants. lastBug(package private) BugInstanceDumbMethods. pendingAbsoluteValueBug(package private) BugInstanceSynchronizationOnSharedBuiltinConstant. pendingBug(package private) BugInstanceSynchronizeOnClassLiteralNotGetClass. pendingBug(package private) BugInstanceSynchronizingOnContentsOfFieldToProtectField. pendingBug(package private) BugInstanceUncallableMethodOfAnonymousClass. pendingBug(package private) BugInstanceFindPuzzlers. pendingUnreachableBranch(package private) BugInstanceFindUninitializedGet. uninitializedFieldReadAndCheckedForNonnullFields in edu.umd.cs.findbugs.detect with type parameters of type BugInstance Modifier and Type Field Description private java.util.Map<java.lang.String,BugInstance>BadlyOverriddenAdapter. badOverrideMapprivate java.util.List<BugInstance>SerializableIdiom. fieldWarningListprivate java.util.SortedMap<java.lang.Integer,BugInstance>InefficientInitializationInsideLoop. matchedprivate java.util.Map<org.apache.bcel.classfile.Method,java.util.Set<BugInstance>>ResourceInMultipleThreadsDetector.FieldData. methodBugsprivate java.util.Map<XField,BugInstance>SerializableIdiom. optionalBugsInReadExternalprivate java.util.Collection<BugInstance>DuplicateBranches. pendingBugs(package private) java.util.Collection<BugInstance>FindUninitializedGet. pendingBugsprivate java.util.Map<XField,BugInstance>StaticCalendarDetector. pendingBugsprivate java.util.Collection<BugInstance>FindTwoLockWait. possibleWaitBugs(package private) java.util.Map<FindHEmismatch.PotentialBugKey,BugInstance>FindHEmismatch. potentialBugsprivate java.util.Map<ClassDescriptor,java.util.Collection<BugInstance>>CheckExpectedWarnings. warningsByClassDeprecated.private java.util.Map<FieldDescriptor,java.util.Collection<BugInstance>>CheckExpectedWarnings. warningsByFieldDeprecated.private java.util.Map<MethodDescriptor,java.util.Collection<BugInstance>>CheckExpectedWarnings. warningsByMethodDeprecated.Methods in edu.umd.cs.findbugs.detect that return BugInstance Modifier and Type Method Description private BugInstanceUnreadFields. addClassFieldAndAccess(BugInstance instance, XField f)BugInstanceWrongMapIterator.LoadedVariable. annotate(BugInstance bug)(package private) BugInstanceFindNonShortCircuit. createBugInstance()private BugInstanceFindSqlInjection. generateBugInstance(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, FindSqlInjection.StringAppendState stringAppendState, boolean isExecute)BugInstanceCheckExpectedWarnings. makeWarning(java.lang.String bugPattern, java.lang.Object descriptor, int priority, ClassDescriptor cd)Deprecated.Methods in edu.umd.cs.findbugs.detect with parameters of type BugInstance Modifier and Type Method Description private BugInstanceUnreadFields. addClassFieldAndAccess(BugInstance instance, XField f)private voidFindNullDeref. addParamAnnotations(Location location, java.util.BitSet definitelyNullArgSet, java.util.BitSet violatedParamSet, WarningPropertySet<? super NullArgumentWarningProperty> propertySet, BugInstance warning)BugInstanceWrongMapIterator.LoadedVariable. annotate(BugInstance bug)private voidCrossSiteScripting. annotateAndReport(BugInstance bug, OpcodeStack.Item item)private voidFindUnsatisfiedObligation.MethodChecker. annotateWarningWithSourceLineInformation(State state, Obligation obligation, BugInstance bugInstance)private voidCheckTypeQualifiers. annotateWarningWithSourceSinkInfo(BugInstance warning, XMethod xMethod, ValueNumber vn, SourceSinkInfo sourceSinkInfo)private voidCheckTypeQualifiers. annotateWarningWithTypeQualifier(BugInstance warning, TypeQualifierValue<?> typeQualifierValue)private voidFindNullDeref. decorateWarning(Location location, WarningPropertySet<WarningProperty> propertySet, BugInstance warning)protected voidAbstractAssertDetector. reportBug(BugInstance bug)protected abstract voidBuildUnconditionalParamDerefDatabase. reportBug(BugInstance bug)voidFindBugsSummaryStats. reportBug(BugInstance bug)protected voidNoteUnconditionalParamDerefs. reportBug(BugInstance bug)protected voidTrainUnconditionalDerefParams. reportBug(BugInstance bug)private voidFindUnsatisfiedObligation.MethodChecker. reportPath(BugInstance bugInstance, Obligation obligation, State state)(package private) voidInfiniteLoop. reportPossibleBug(BugInstance bug)Method parameters in edu.umd.cs.findbugs.detect with type arguments of type BugInstance Modifier and Type Method Description private voidCheckExpectedWarnings. check(AnnotationValue expect, java.lang.Object descriptor, java.util.Collection<BugInstance> warnings, boolean expectWarnings, int priority, ClassDescriptor cd)Deprecated.voidCheckExpectedWarnings. checkAnnotation(java.lang.String bugCode, java.util.Collection<BugInstance> warnings, boolean expectWarnings, int priority, java.lang.Integer rank, java.lang.Integer num, java.lang.Object methodDescriptor, int minPriority, ClassDescriptor cd)Deprecated.private static java.util.Collection<SourceLineAnnotation>CheckExpectedWarnings. countWarnings(java.util.Collection<BugInstance> warnings, java.lang.String bugCode, int desiredPriority, int rank)Deprecated.Constructors in edu.umd.cs.findbugs.detect with parameters of type BugInstance Constructor Description PotentialBugKey(java.lang.String className, BugInstance bugInstance)RememberedBug(BugInstance bug, FieldAnnotation maskingField, FieldAnnotation maskedField)WarningWithProperties(BugInstance warning, WarningPropertySet<WarningProperty> propertySet, SourceLineAnnotation sourceLine, Location location) -
Uses of BugInstance in edu.umd.cs.findbugs.filter
Methods in edu.umd.cs.findbugs.filter with parameters of type BugInstance Modifier and Type Method Description booleanAndMatcher. match(BugInstance bugInstance)booleanAnnotationMatcher. match(BugInstance bugInstance)booleanBugMatcher. match(BugInstance bugInstance)booleanClassMatcher. match(BugInstance bugInstance)booleanConfidenceMatcher. match(BugInstance bugInstance)booleanFieldMatcher. match(BugInstance bugInstance)booleanFilter. match(BugInstance bugInstance)booleanFirstVersionMatcher. match(BugInstance bugInstance)booleanLastVersionMatcher. match(BugInstance bugInstance)booleanLocalMatcher. match(BugInstance bugInstance)booleanMatcher. match(BugInstance bugInstance)Determine whether or not the given BugInstance has the feature this Matcher tests for.booleanMethodMatcher. match(BugInstance bugInstance)booleanNotMatcher. match(BugInstance bugInstance)booleanOrMatcher. match(BugInstance bugInstance)booleanPriorityMatcher. match(BugInstance bugInstance)booleanRankMatcher. match(BugInstance bugInstance)booleanSourceMatcher. match(BugInstance bugInstance)booleanTypeMatcher. match(BugInstance bugInstance) -
Uses of BugInstance in edu.umd.cs.findbugs.gui2
Fields in edu.umd.cs.findbugs.gui2 declared as BugInstance Modifier and Type Field Description private BugInstanceBugLeafNode. bugprivate BugInstanceFilterFromBugPicker. bug(package private) BugInstanceSourceCodeDisplay.DisplayMe. bugprivate BugInstanceMainFrameComponentFactory.BugSummaryMouseListener. bugInstanceprivate BugInstanceSourceCodeDisplay.DisplayBug. myBugMethods in edu.umd.cs.findbugs.gui2 that return BugInstance Modifier and Type Method Description BugInstanceBugLeafNode. getBug()Methods in edu.umd.cs.findbugs.gui2 with parameters of type BugInstance Modifier and Type Method Description booleanSuppressionMatcher. add(BugInstance bugInstance)Deprecated.(package private) java.awt.ComponentMainFrameComponentFactory. bugSummaryComponent(BugAnnotation value, BugInstance bug)java.awt.ComponentMainFrameComponentFactory. bugSummaryComponent(java.lang.String str, BugInstance bug)Creates bug summary component.voidSourceCodeDisplay. displaySource(BugInstance bug, SourceLineAnnotation source)abstract java.lang.StringSortables. getFrom(BugInstance bug)javax.swing.tree.TreePathBugTreeModel. getPathToBug(BugInstance b)javax.swing.tree.TreePathBugTreeModel. getPathToNewlyUnsuppressedBug(BugInstance b)private static MatcherFilterFactory. makeMatcher(Sortables s, BugInstance bug)static MatcherFilterFactory. makeMatcher(java.util.Collection<Sortables> sortables, BugInstance bug)booleanCompoundMatcher. match(BugInstance bugInstance)Deprecated.booleanFilterMatcher. match(BugInstance bugInstance)Deprecated.booleanStackedFilterMatcher. match(BugInstance bugInstance)Deprecated.booleanSuppressionMatcher. match(BugInstance bugInstance)Deprecated.(package private) voidMainFrame. setSourceTab(java.lang.String title, BugInstance bug)Sets the title of the source tabs for either docking or non-docking versions.(package private) voidMainFrameComponentFactory. setSourceTab(java.lang.String title, BugInstance bug)Sets the title of the source tabs for either docking or non-docking versions.(package private) booleanMainFrame. shouldDisplayIssue(BugInstance b)private booleanMainFrame. shouldDisplayIssueIgnoringPackagePrefixes(BugInstance b)booleanViewFilter.PriorityFilter. show(MainFrame mf, BugInstance b)booleanViewFilter.RankFilter. show(MainFrame mf, BugInstance b)booleanViewFilter. show(BugInstance b)booleanViewFilter.ViewFilterEnum. show(MainFrame mf, BugInstance b)booleanViewFilter. showIgnoringPackagePrefixes(BugInstance b)Constructors in edu.umd.cs.findbugs.gui2 with parameters of type BugInstance Constructor Description BugLeafNode(BugInstance b)BugSummaryMouseListener(BugInstance bugInstance, javax.swing.JLabel label, SourceLineAnnotation link)DisplayBug(JavaSourceDocument src, BugInstance myBug, SourceLineAnnotation mySourceLine)DisplayMe(BugInstance bug, SourceLineAnnotation source)FilterFromBugPicker(BugInstance bug, java.util.List<Sortables> availableSortables) -
Uses of BugInstance in edu.umd.cs.findbugs.props
Methods in edu.umd.cs.findbugs.props with parameters of type BugInstance Modifier and Type Method Description voidWarningPropertySet. decorateBugInstance(BugInstance bugInstance)Decorate given BugInstance with properties. -
Uses of BugInstance in edu.umd.cs.findbugs.sarif
Methods in edu.umd.cs.findbugs.sarif with parameters of type BugInstance Modifier and Type Method Description private static Location.PhysicalLocationLocation. findPhysicalLocation(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static java.util.Optional<Location.PhysicalLocation>Location.PhysicalLocation. fromBugAnnotation(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static java.util.Optional<Location>Location. fromBugInstance(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static java.util.Optional<Location.LogicalLocation>Location.LogicalLocation. fromBugInstance(BugInstance bugInstance)private voidBugCollectionAnalyser. processResult(int index, BugInstance bug, SourceFinder sourceFinder) -
Uses of BugInstance in edu.umd.cs.findbugs.workflow
Fields in edu.umd.cs.findbugs.workflow with type parameters of type BugInstance Modifier and Type Field Description private java.util.Map<BugInstance,BugInstance>Update. mapFromNewToOldBugprivate java.util.Map<BugInstance,BugInstance>Update. mapFromNewToOldBugprivate java.util.Map<BugInstance,java.lang.Void>Update. matchedOldBugs(package private) java.util.SortedSet<BugInstance>Filter.FilterCommandLine. uniqueSloppyMethods in edu.umd.cs.findbugs.workflow with parameters of type BugInstance Modifier and Type Method Description (package private) booleanFilter.FilterCommandLine. accept(BugCollection collection, BugInstance bug)private booleanFilter.FilterCommandLine. atMutationPoint(BugInstance b)private booleanFilter.FilterCommandLine. bugLiveAt(BugInstance bug, long now)(package private) booleanFilter.FilterCommandLine. evaluate(BugCollection collection, BugInstance bug)private java.lang.StringFilter.FilterCommandLine. getBugLocation(BugInstance b)(package private) java.lang.StringChurn. getKey(BugInstance b)(package private) booleanUpdate.MatchOldBugs. match(BugInstance b)private static voidUpdate. mergeBugHistory(BugInstance older, BugInstance newer)(package private) voidChurn.Data. update(BugInstance bug)Method parameters in edu.umd.cs.findbugs.workflow with type arguments of type BugInstance Modifier and Type Method Description private voidUpdate. matchBugs(java.util.Comparator<BugInstance> bugInstanceComparator, BugCollection origCollection, BugCollection newCollection)private voidUpdate. matchBugs(java.util.Comparator<BugInstance> bugInstanceComparator, BugCollection origCollection, BugCollection newCollection, Update.MatchOldBugs matchOld)
-