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 aBugReporter
implementation 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 BugInstance
SAXBugCollectionHandler. bugInstance
private BugInstance
BugAccumulator. lastBug
Fields in edu.umd.cs.findbugs with type parameters of type BugInstance Modifier and Type Field Description private java.util.IdentityHashMap<BugInstance,BugCollection>
FuzzyBugComparator. bugCollectionMap
Keep track of which BugCollections the various BugInstances have come from.private java.util.TreeSet<BugInstance>
SortedBugCollection. bugSet
private java.util.Comparator<BugInstance>
SortedBugCollection. comparator
private java.util.HashMap<java.lang.String,BugInstance>
BugAccumulator. hashes
private java.util.Map<BugInstance,BugAccumulator.Data>
BugAccumulator. map
private java.util.HashSet<BugInstance>
EmacsBugReporter. seenAlready
private java.util.HashSet<BugInstance>
PrintingBugReporter. seenAlready
Methods in edu.umd.cs.findbugs that return BugInstance Modifier and Type Method Description BugInstance
BugInstance. add(BugAnnotation annotation)
BugInstance
BugInstance. addAnnotations(java.util.Collection<? extends BugAnnotation> annotationCollection)
Add a Collection of BugAnnotations.BugInstance
BugInstance. addCalledMethod(XMethod m)
BugInstance
BugInstance. addCalledMethod(DismantleBytecode visitor)
Add a method annotation for the method which has been called by the method currently being visited by given visitor.BugInstance
BugInstance. addCalledMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)
Add a method annotation.BugInstance
BugInstance. 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.BugInstance
BugInstance. 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.BugInstance
BugInstance. addClass(ClassDescriptor classDescriptor)
Add a class annotation.BugInstance
BugInstance. addClass(PreorderVisitor visitor)
Add a class annotation for the class that the visitor is currently visiting.BugInstance
BugInstance. addClass(java.lang.String className)
Add a class annotation.BugInstance
BugInstance. addClass(java.lang.String className, java.lang.String sourceFileName)
Add a class annotation.BugInstance
BugInstance. addClass(org.apache.bcel.classfile.JavaClass jclass)
Add a class annotation.BugInstance
BugInstance. addClass(org.objectweb.asm.tree.ClassNode classNode)
Add a class annotation for the classNode.BugInstance
BugInstance. addClassAndMethod(XMethod xMethod)
BugInstance
BugInstance. addClassAndMethod(MethodDescriptor methodDescriptor)
BugInstance
BugInstance. addClassAndMethod(MethodAnnotation methodAnnotation)
Add class and method annotations for given method.BugInstance
BugInstance. addClassAndMethod(PreorderVisitor visitor)
Add a class annotation and a method annotation for the class and method which the given visitor is currently visiting.BugInstance
BugInstance. addClassAndMethod(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)
Add class and method annotations for given class and method.BugInstance
BugInstance. addClassAndMethod(org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile)
Add class and method annotations for given method.BugInstance
BugInstance. addEqualsMethodUsed(ClassDescriptor expectedClass)
BugInstance
BugInstance. addEqualsMethodUsed(java.util.Collection<XMethod> equalsMethods)
BugInstance
BugInstance. addField(FieldVariable field)
Add a field annotation for a FieldVariable matched in a ByteCodePattern.BugInstance
BugInstance. addField(XField xfield)
Add a field annotation for an XField.BugInstance
BugInstance. addField(FieldDescriptor fieldDescriptor)
Add a field annotation for a FieldDescriptor.BugInstance
BugInstance. addField(FieldAnnotation fieldAnnotation)
Add a field annotationBugInstance
BugInstance. addField(PreorderVisitor visitor)
BugInstance
BugInstance. addField(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSig, boolean isStatic)
Add a field annotation.BugInstance
BugInstance. addField(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSig, int accessFlags)
Add a field annotation.BugInstance
BugInstance. addFieldOrMethodValueSource(OpcodeStack.Item item)
BugInstance
BugInstance. addFoundAndExpectedType(java.lang.String foundType, java.lang.String expectedType)
BugInstance
BugInstance. addFoundAndExpectedType(org.apache.bcel.generic.Type foundType, org.apache.bcel.generic.Type expectedType)
BugInstance
BugInstance. addInt(int value)
Add an integer annotation.BugInstance
BugInstance. addMethod(JavaClassAndMethod classAndMethod)
Add a method annotation.BugInstance
BugInstance. addMethod(XMethod xmethod)
Add a MethodAnnotation from an XMethod.BugInstance
BugInstance. addMethod(MethodDescriptor method)
Add a MethodAnnotation from an MethodDescriptor.BugInstance
BugInstance. addMethod(MethodAnnotation methodAnnotation)
Add a method annotation.BugInstance
BugInstance. addMethod(PreorderVisitor visitor)
Add a method annotation for the method which the given visitor is currently visiting.BugInstance
BugInstance. addMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)
Add a method annotation.BugInstance
BugInstance. addMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, int accessFlags)
Add a method annotation.BugInstance
BugInstance. addMethod(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)
Add a method annotation.BugInstance
BugInstance. addMethod(org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile)
Add a method annotation.BugInstance
BugInstance. addOptionalAnnotation(BugAnnotation annotation)
BugInstance
BugInstance. addOptionalAnnotation(BugAnnotation annotation, java.lang.String role)
BugInstance
BugInstance. addOptionalField(XField xfield)
Add a field annotation for an XField.BugInstance
BugInstance. addOptionalLocalVariable(DismantleBytecode dbc, OpcodeStack.Item item)
Local variable addersBugInstance
BugInstance. addOptionalUniqueAnnotations(BugAnnotation... annotations)
BugInstance
BugInstance. addOptionalUniqueAnnotationsWithFallback(BugAnnotation fallback, BugAnnotation... annotations)
BugInstance
BugInstance. addParameterAnnotation(int index, java.lang.String role)
Add an annotation about a parameterBugInstance
BugInstance. addReferencedField(FieldAnnotation fa)
Add a field annotation for the field referenced by the FieldAnnotation parameterBugInstance
BugInstance. addReferencedField(DismantleBytecode visitor)
Add a field annotation for the field which has just been accessed by the method currently being visited by given visitor.BugInstance
BugInstance. addSomeSourceForTopTwoStackValues(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
BugInstance
BugInstance. addSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
BugInstance
BugInstance. 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.BugInstance
BugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
Add source line annotation for given Location in a method.BugInstance
BugInstance. 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.BugInstance
BugInstance. 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.BugInstance
BugInstance. 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.BugInstance
BugInstance. addSourceLine(BytecodeScanningDetector visitor)
Add a source line annotation for instruction currently being visited by given visitor.BugInstance
BugInstance. 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.BugInstance
BugInstance. addSourceLine(MethodDescriptor methodDescriptor, Location location)
Add source line annotation for given Location in a method.BugInstance
BugInstance. addSourceLine(SourceLineAnnotation sourceLine)
Add a source line annotation.BugInstance
BugInstance. 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.BugInstance
BugInstance. 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.BugInstance
BugInstance. addString(char c)
Add a String annotation.BugInstance
BugInstance. addString(java.lang.String value)
Add a String annotation.BugInstance
BugInstance. addSuperclass(PreorderVisitor visitor)
Add a class annotation for the superclass of the class the visitor is currently visiting.BugInstance
BugInstance. addType(ClassDescriptor c)
BugInstance
BugInstance. addType(java.lang.String typeDescriptor)
Add a type annotation.BugInstance
BugInstance. addType(org.apache.bcel.generic.Type type)
BugInstance
BugInstance. addTypeOfNamedClass(java.lang.String typeName)
BugInstance
BugInstance. addUnknownSourceLine(java.lang.String className, java.lang.String sourceFile)
Add a non-specific source line annotation.BugInstance
BugInstance. addValueSource(OpcodeStack.Item item, DismantleBytecode dbc)
BugInstance
BugInstance. addValueSource(OpcodeStack.Item item, org.apache.bcel.classfile.Method method, int pc)
BugInstance
BugInstance. addVisitedField(PreorderVisitor visitor)
Add a field annotation for the field which is being visited by given visitor.BugInstance
ClassWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)
BugInstance
FieldWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)
BugInstance
MethodWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)
BugInstance
PackageWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)
BugInstance
ParameterWarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)
abstract BugInstance
WarningSuppressor. buildUselessSuppressionBugInstance(UselessSuppressionDetector detector)
BugInstance
BugInstance. describe(java.lang.String description)
Add a description to the most recently added bug annotation.BugInstance
BugCollection. findBug(java.lang.String instanceHash, java.lang.String bugType, int lineNumber)
BugInstance
SortedBugCollection. findBug(java.lang.String instanceHash, java.lang.String bugType, int lineNumber)
BugInstance
SortedBugCollection. getMatching(BugInstance bugInstance)
BugInstance
BugCollection. lookupFromUniqueId(java.lang.String uniqueId)
Deprecated.BugInstance
SortedBugCollection. lookupFromUniqueId(java.lang.String uniqueId)
Deprecated.BugInstance
BugInstance. lowerPriorityIfDeprecated()
static BugInstance
Obfuscate. obfuscate(BugInstance b)
BugInstance
BugInstance. 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 void
BugAccumulator. accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
void
BugAccumulator. accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, Location location)
void
BugAccumulator. accumulateBug(BugInstance bug, BytecodeScanningDetector visitor)
Accumulate a warning at source location currently being visited by given BytecodeScanningDetector.void
BugAccumulator. accumulateBug(BugInstance bug, SourceLineAnnotation sourceLine)
Accumulate a warning at given source location.boolean
BugCollection. add(BugInstance bugInstance)
Add a BugInstance to this BugCollection.boolean
BugCollection. add(BugInstance bugInstance, boolean updateActiveTime)
Add a BugInstance to this BugCollection.boolean
SortedBugCollection. add(BugInstance bugInstance)
Add a BugInstance to this BugCollection.boolean
SortedBugCollection. add(BugInstance bugInstance, boolean updateActiveTime)
void
ProjectStats. addBug(BugInstance bug)
Called when a bug is reported.void
BugCounts. addError(BugInstance bug)
void
PackageStats. addError(BugInstance bug)
protected void
TextUIBugReporter. checkBugInstance(BugInstance bugInstance)
For debugging: check a BugInstance to make sure it is valid.int
FuzzyBugComparator. compare(BugInstance lhs, BugInstance rhs)
int
SloppyBugComparator. compare(BugInstance lhs, BugInstance rhs)
int
SortedBugCollection.BugInstanceComparator. compare(BugInstance lhs, BugInstance rhs)
int
SortedBugCollection.MultiversionBugInstanceComparator. compare(BugInstance lhs, BugInstance rhs)
int
VersionInsensitiveBugComparator. compare(BugInstance lhs, BugInstance rhs)
int
WarningComparator. compare(BugInstance lhs, BugInstance rhs)
int
BugInstance. compareTo(BugInstance other)
boolean
SortedBugCollection. contains(BugInstance bugInstance)
void
ProjectPackagePrefixes. countBug(BugInstance b)
protected abstract void
AbstractBugReporter. doReportBug(BugInstance bugInstance)
Subclasses must override this.void
BugCollectionBugReporter. doReportBug(BugInstance bugInstance)
protected void
EmacsBugReporter. doReportBug(BugInstance bugInstance)
protected void
PrintingBugReporter. doReportBug(BugInstance bugInstance)
void
SortingBugReporter. doReportBug(BugInstance bugInstance)
void
XDocsBugReporter. doReportBug(BugInstance bugInstance)
static int
BugRanker. findRank(BugInstance bug)
BugInstance
SortedBugCollection. getMatching(BugInstance bugInstance)
java.lang.Iterable<? extends SourceLineAnnotation>
BugAccumulator. locations(BugInstance bug)
boolean
ClassWarningSuppressor. match(BugInstance bugInstance)
boolean
FieldWarningSuppressor. match(BugInstance bugInstance)
boolean
MethodWarningSuppressor. match(BugInstance bugInstance)
boolean
PackageWarningSuppressor. match(BugInstance bugInstance)
boolean
ParameterWarningSuppressor. match(BugInstance bugInstance)
boolean
SuppressionMatcher. match(BugInstance b)
boolean
WarningSuppressor. match(BugInstance bugInstance)
protected void
AbstractBugReporter. notifyObservers(BugInstance bugInstance)
This should be called when a bug is reported by a subclass.static BugInstance
Obfuscate. obfuscate(BugInstance b)
protected void
EmacsBugReporter. printBug(BugInstance bugInstance)
protected void
TextUIBugReporter. printBug(BugInstance bugInstance)
Print bug in one-line format.protected void
XDocsBugReporter. printBug(BugInstance bugInstance)
boolean
SortedBugCollection. remove(BugInstance bugInstance)
void
AbstractBugReporter. reportBug(BugInstance bugInstance)
void
BugAccumulator. reportBug(BugInstance bug, BugAccumulator.Data d)
void
BugReportDispatcher. reportBug(BugInstance bugInstance)
void
BugReporter. reportBug(BugInstance bugInstance)
Report a bug.void
BugReporterObserver. reportBug(BugInstance bugInstance)
Called when a BugReporter reports a bug.void
CategoryFilteringBugReporter. reportBug(BugInstance bugInstance)
void
DelegatingBugReporter. reportBug(BugInstance bugInstance)
void
ExcludingHashesBugReporter. reportBug(BugInstance bugInstance)
void
FilterBugReporter. reportBug(BugInstance bugInstance)
void
SynchronizedBugReporter. reportBug(BugInstance bugInstance)
void
BugInstance. setHistory(BugInstance from)
void
XDocsBugReporter. toElement(BugInstance bugInstance)
Method parameters in edu.umd.cs.findbugs with type arguments of type BugInstance Modifier and Type Method Description void
SortedBugCollection. addAll(java.util.Collection<BugInstance> collection)
Add a Collection of BugInstances to this BugCollection object.void
SortedBugCollection. addAll(java.util.Collection<BugInstance> collection, boolean updateActiveTime)
Add a Collection of BugInstances to this BugCollection object.static void
SortedBugCollection. 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 void
MaxRankDecorator. reportBug(BugInstance bugInstance)
void
SuppressionDecorator. 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 boolean
ProjectFilterSettings. 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) BugInstance
FindMaskedFields.RememberedBug. bug
private BugInstance
QuestionableBooleanAssignment. bug
private BugInstance
DontAssertInstanceofInTests. currBug
private BugInstance
DumbMethods. gcInvocationBugReport
(package private) BugInstance
FunctionsThatMightBeMistakenForProcedures. inferredMethod
(package private) BugInstance
FindRefComparison.WarningWithProperties. instance
(package private) BugInstance
ConfusionBetweenInheritedAndOuterMethod. iteratorBug
private BugInstance
FindRoughConstants. lastBug
(package private) BugInstance
DumbMethods. pendingAbsoluteValueBug
(package private) BugInstance
SynchronizationOnSharedBuiltinConstant. pendingBug
(package private) BugInstance
SynchronizeOnClassLiteralNotGetClass. pendingBug
(package private) BugInstance
SynchronizingOnContentsOfFieldToProtectField. pendingBug
(package private) BugInstance
UncallableMethodOfAnonymousClass. pendingBug
(package private) BugInstance
FindPuzzlers. pendingUnreachableBranch
(package private) BugInstance
FindUninitializedGet. uninitializedFieldReadAndCheckedForNonnull
Fields 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. badOverrideMap
private java.util.List<BugInstance>
SerializableIdiom. fieldWarningList
private java.util.SortedMap<java.lang.Integer,BugInstance>
InefficientInitializationInsideLoop. matched
private java.util.Map<org.apache.bcel.classfile.Method,java.util.Set<BugInstance>>
ResourceInMultipleThreadsDetector.FieldData. methodBugs
private java.util.Map<XField,BugInstance>
SerializableIdiom. optionalBugsInReadExternal
private java.util.Collection<BugInstance>
DuplicateBranches. pendingBugs
(package private) java.util.Collection<BugInstance>
FindUninitializedGet. pendingBugs
private java.util.Map<XField,BugInstance>
StaticCalendarDetector. pendingBugs
private java.util.Collection<BugInstance>
FindTwoLockWait. possibleWaitBugs
(package private) java.util.Map<FindHEmismatch.PotentialBugKey,BugInstance>
FindHEmismatch. potentialBugs
private java.util.Map<ClassDescriptor,java.util.Collection<BugInstance>>
CheckExpectedWarnings. warningsByClass
Deprecated.private java.util.Map<FieldDescriptor,java.util.Collection<BugInstance>>
CheckExpectedWarnings. warningsByField
Deprecated.private java.util.Map<MethodDescriptor,java.util.Collection<BugInstance>>
CheckExpectedWarnings. warningsByMethod
Deprecated.Methods in edu.umd.cs.findbugs.detect that return BugInstance Modifier and Type Method Description private BugInstance
UnreadFields. addClassFieldAndAccess(BugInstance instance, XField f)
BugInstance
WrongMapIterator.LoadedVariable. annotate(BugInstance bug)
(package private) BugInstance
FindNonShortCircuit. createBugInstance()
private BugInstance
FindSqlInjection. generateBugInstance(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, FindSqlInjection.StringAppendState stringAppendState, boolean isExecute)
BugInstance
CheckExpectedWarnings. 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 BugInstance
UnreadFields. addClassFieldAndAccess(BugInstance instance, XField f)
private void
FindNullDeref. addParamAnnotations(Location location, java.util.BitSet definitelyNullArgSet, java.util.BitSet violatedParamSet, WarningPropertySet<? super NullArgumentWarningProperty> propertySet, BugInstance warning)
BugInstance
WrongMapIterator.LoadedVariable. annotate(BugInstance bug)
private void
CrossSiteScripting. annotateAndReport(BugInstance bug, OpcodeStack.Item item)
private void
FindUnsatisfiedObligation.MethodChecker. annotateWarningWithSourceLineInformation(State state, Obligation obligation, BugInstance bugInstance)
private void
CheckTypeQualifiers. annotateWarningWithSourceSinkInfo(BugInstance warning, XMethod xMethod, ValueNumber vn, SourceSinkInfo sourceSinkInfo)
private void
CheckTypeQualifiers. annotateWarningWithTypeQualifier(BugInstance warning, TypeQualifierValue<?> typeQualifierValue)
private void
FindNullDeref. decorateWarning(Location location, WarningPropertySet<WarningProperty> propertySet, BugInstance warning)
protected void
AbstractAssertDetector. reportBug(BugInstance bug)
protected abstract void
BuildUnconditionalParamDerefDatabase. reportBug(BugInstance bug)
void
FindBugsSummaryStats. reportBug(BugInstance bug)
protected void
NoteUnconditionalParamDerefs. reportBug(BugInstance bug)
protected void
TrainUnconditionalDerefParams. reportBug(BugInstance bug)
private void
FindUnsatisfiedObligation.MethodChecker. reportPath(BugInstance bugInstance, Obligation obligation, State state)
(package private) void
InfiniteLoop. reportPossibleBug(BugInstance bug)
Method parameters in edu.umd.cs.findbugs.detect with type arguments of type BugInstance Modifier and Type Method Description private void
CheckExpectedWarnings. check(AnnotationValue expect, java.lang.Object descriptor, java.util.Collection<BugInstance> warnings, boolean expectWarnings, int priority, ClassDescriptor cd)
Deprecated.void
CheckExpectedWarnings. 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 boolean
AndMatcher. match(BugInstance bugInstance)
boolean
AnnotationMatcher. match(BugInstance bugInstance)
boolean
BugMatcher. match(BugInstance bugInstance)
boolean
ClassMatcher. match(BugInstance bugInstance)
boolean
ConfidenceMatcher. match(BugInstance bugInstance)
boolean
FieldMatcher. match(BugInstance bugInstance)
boolean
Filter. match(BugInstance bugInstance)
boolean
FirstVersionMatcher. match(BugInstance bugInstance)
boolean
LastVersionMatcher. match(BugInstance bugInstance)
boolean
LocalMatcher. match(BugInstance bugInstance)
boolean
Matcher. match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for.boolean
MethodMatcher. match(BugInstance bugInstance)
boolean
NotMatcher. match(BugInstance bugInstance)
boolean
OrMatcher. match(BugInstance bugInstance)
boolean
PriorityMatcher. match(BugInstance bugInstance)
boolean
RankMatcher. match(BugInstance bugInstance)
boolean
SourceMatcher. match(BugInstance bugInstance)
boolean
TypeMatcher. 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 BugInstance
BugLeafNode. bug
private BugInstance
FilterFromBugPicker. bug
(package private) BugInstance
SourceCodeDisplay.DisplayMe. bug
private BugInstance
MainFrameComponentFactory.BugSummaryMouseListener. bugInstance
private BugInstance
SourceCodeDisplay.DisplayBug. myBug
Methods in edu.umd.cs.findbugs.gui2 that return BugInstance Modifier and Type Method Description BugInstance
BugLeafNode. getBug()
Methods in edu.umd.cs.findbugs.gui2 with parameters of type BugInstance Modifier and Type Method Description boolean
SuppressionMatcher. add(BugInstance bugInstance)
Deprecated.(package private) java.awt.Component
MainFrameComponentFactory. bugSummaryComponent(BugAnnotation value, BugInstance bug)
java.awt.Component
MainFrameComponentFactory. bugSummaryComponent(java.lang.String str, BugInstance bug)
Creates bug summary component.void
SourceCodeDisplay. displaySource(BugInstance bug, SourceLineAnnotation source)
abstract java.lang.String
Sortables. getFrom(BugInstance bug)
javax.swing.tree.TreePath
BugTreeModel. getPathToBug(BugInstance b)
javax.swing.tree.TreePath
BugTreeModel. getPathToNewlyUnsuppressedBug(BugInstance b)
private static Matcher
FilterFactory. makeMatcher(Sortables s, BugInstance bug)
static Matcher
FilterFactory. makeMatcher(java.util.Collection<Sortables> sortables, BugInstance bug)
boolean
CompoundMatcher. match(BugInstance bugInstance)
Deprecated.boolean
FilterMatcher. match(BugInstance bugInstance)
Deprecated.boolean
StackedFilterMatcher. match(BugInstance bugInstance)
Deprecated.boolean
SuppressionMatcher. match(BugInstance bugInstance)
Deprecated.(package private) void
MainFrame. setSourceTab(java.lang.String title, BugInstance bug)
Sets the title of the source tabs for either docking or non-docking versions.(package private) void
MainFrameComponentFactory. setSourceTab(java.lang.String title, BugInstance bug)
Sets the title of the source tabs for either docking or non-docking versions.(package private) boolean
MainFrame. shouldDisplayIssue(BugInstance b)
private boolean
MainFrame. shouldDisplayIssueIgnoringPackagePrefixes(BugInstance b)
boolean
ViewFilter.PriorityFilter. show(MainFrame mf, BugInstance b)
boolean
ViewFilter.RankFilter. show(MainFrame mf, BugInstance b)
boolean
ViewFilter. show(BugInstance b)
boolean
ViewFilter.ViewFilterEnum. show(MainFrame mf, BugInstance b)
boolean
ViewFilter. 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 void
WarningPropertySet. 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.PhysicalLocation
Location. 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 void
BugCollectionAnalyser. 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. mapFromNewToOldBug
private java.util.Map<BugInstance,BugInstance>
Update. mapFromNewToOldBug
private java.util.Map<BugInstance,java.lang.Void>
Update. matchedOldBugs
(package private) java.util.SortedSet<BugInstance>
Filter.FilterCommandLine. uniqueSloppy
Methods in edu.umd.cs.findbugs.workflow with parameters of type BugInstance Modifier and Type Method Description (package private) boolean
Filter.FilterCommandLine. accept(BugCollection collection, BugInstance bug)
private boolean
Filter.FilterCommandLine. atMutationPoint(BugInstance b)
private boolean
Filter.FilterCommandLine. bugLiveAt(BugInstance bug, long now)
(package private) boolean
Filter.FilterCommandLine. evaluate(BugCollection collection, BugInstance bug)
private java.lang.String
Filter.FilterCommandLine. getBugLocation(BugInstance b)
(package private) java.lang.String
Churn. getKey(BugInstance b)
(package private) boolean
Update.MatchOldBugs. match(BugInstance b)
private static void
Update. mergeBugHistory(BugInstance older, BugInstance newer)
(package private) void
Churn.Data. update(BugInstance bug)
Method parameters in edu.umd.cs.findbugs.workflow with type arguments of type BugInstance Modifier and Type Method Description private void
Update. matchBugs(java.util.Comparator<BugInstance> bugInstanceComparator, BugCollection origCollection, BugCollection newCollection)
private void
Update. matchBugs(java.util.Comparator<BugInstance> bugInstanceComparator, BugCollection origCollection, BugCollection newCollection, Update.MatchOldBugs matchOld)
-