|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BugInstance | |
---|---|
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.config | |
edu.umd.cs.findbugs.detect | |
edu.umd.cs.findbugs.filter | |
edu.umd.cs.findbugs.gui | |
edu.umd.cs.findbugs.props | |
edu.umd.cs.findbugs.workflow |
Uses of BugInstance in edu.umd.cs.findbugs |
---|
Methods in edu.umd.cs.findbugs that return BugInstance | |
---|---|
BugInstance |
BugInstance.add(BugAnnotation annotation)
|
BugInstance |
BugInstance.addAnnotations(java.util.Collection<? extends BugAnnotation> annotationCollection)
Add a Collection of BugAnnotations. |
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(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.addCalledMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic)
Add a method annotation. |
BugInstance |
BugInstance.addClass(org.apache.bcel.classfile.JavaClass jclass)
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, but look up the source file name from the class name (using currentAnalysisContext) |
BugInstance |
BugInstance.addClass(java.lang.String className,
java.lang.String sourceFileName)
Add a class annotation. |
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(MethodAnnotation methodAnnotation)
Add class and method annotations for given method. |
BugInstance |
BugInstance.addClassAndMethod(org.apache.bcel.generic.MethodGen methodGen,
java.lang.String sourceFile)
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.addField(FieldAnnotation fieldAnnotation)
Add a field annotation |
BugInstance |
BugInstance.addField(FieldVariable field)
Add a field annotation for a FieldVariable matched in a ByteCodePattern. |
BugInstance |
BugInstance.addField(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSig,
boolean isStatic)
Add a field annotation. |
BugInstance |
BugInstance.addField(XField xfield)
Add a field annotation for an XField. |
BugInstance |
BugInstance.addInt(int value)
Add an integer annotation. |
BugInstance |
BugInstance.addMethod(JavaClassAndMethod classAndMethod)
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(MethodAnnotation methodAnnotation)
Add a method annotation. |
BugInstance |
BugInstance.addMethod(org.apache.bcel.generic.MethodGen methodGen,
java.lang.String sourceFile)
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(XMethod xmethod)
Add a MethodAnnotation from an XMethod. |
BugInstance |
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.addReferencedField(FieldAnnotation fa)
Add a field annotation for the field referenced by the FieldAnnotation parameter |
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(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(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(SourceLineAnnotation sourceLine)
Add a source line annotation. |
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.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.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.addUnknownSourceLine(java.lang.String className,
java.lang.String sourceFile)
Add a non-specific source line annotation. |
BugInstance |
BugInstance.addVisitedField(PreorderVisitor visitor)
Add a field annotation for the field which is being visited by given visitor. |
BugInstance |
BugInstance.describe(java.lang.String description)
Add a description to the most recently added bug annotation. |
BugInstance |
SortedBugCollection.getMatching(BugInstance bugInstance)
|
BugInstance |
BugCollection.lookupFromUniqueId(java.lang.String uniqueId)
Look up a BugInstance by its unique id. |
BugInstance |
SortedBugCollection.lookupFromUniqueId(java.lang.String uniqueId)
|
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 | |
---|---|
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()
|
Methods in edu.umd.cs.findbugs with parameters of type BugInstance | |
---|---|
boolean |
BugCollection.add(BugInstance bugInstance)
Add a BugInstance to this BugCollection. |
boolean |
SortedBugCollection.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,
boolean updateActiveTime)
|
void |
ProjectStats.addBug(BugInstance bug)
Called when a bug is reported. |
void |
PackageStats.addError(BugInstance bug)
|
void |
PackageStats.ClassStats.addError(BugInstance bug)
|
protected void |
TextUIBugReporter.checkBugInstance(BugInstance bugInstance)
For debugging: check a BugInstance to make sure it is valid. |
int |
VersionInsensitiveBugComparator.compare(BugInstance lhs,
BugInstance rhs)
|
int |
SloppyBugComparator.compare(BugInstance lhs,
BugInstance rhs)
|
int |
WarningComparator.compare(BugInstance lhs,
BugInstance rhs)
|
int |
FuzzyBugComparator.compare(BugInstance lhs,
BugInstance rhs)
|
int |
SortedBugCollection.BugInstanceComparator.compare(BugInstance lhs,
BugInstance rhs)
|
int |
SortedBugCollection.MultiversionBugInstanceComparator.compare(BugInstance lhs,
BugInstance rhs)
|
int |
BugInstance.compareTo(BugInstance other)
|
boolean |
SortedBugCollection.contains(BugInstance bugInstance)
|
void |
BugCollectionBugReporter.doReportBug(BugInstance bugInstance)
|
protected void |
PrintingBugReporter.doReportBug(BugInstance bugInstance)
|
protected abstract void |
AbstractBugReporter.doReportBug(BugInstance bugInstance)
Subclasses must override this. |
void |
XDocsBugReporter.doReportBug(BugInstance bugInstance)
|
protected void |
EmacsBugReporter.doReportBug(BugInstance bugInstance)
|
void |
SortingBugReporter.doReportBug(BugInstance bugInstance)
|
BugInstance |
SortedBugCollection.getMatching(BugInstance bugInstance)
|
boolean |
WarningSuppressor.match(BugInstance bugInstance)
|
boolean |
ClassWarningSuppressor.match(BugInstance bugInstance)
|
boolean |
SuppressionMatcher.match(BugInstance b)
|
boolean |
PackageWarningSuppressor.match(BugInstance bugInstance)
|
boolean |
MethodWarningSuppressor.match(BugInstance bugInstance)
|
boolean |
FieldWarningSuppressor.match(BugInstance bugInstance)
|
protected abstract void |
QueryBugAnnotations.match(BugInstance bugInstance,
java.lang.String filename)
Called when a bug instance contains a query keyword. |
protected void |
AbstractBugReporter.notifyObservers(BugInstance bugInstance)
This should be called when a bug is reported by a subclass. |
protected void |
TextUIBugReporter.printBug(BugInstance bugInstance)
Print bug in one-line format. |
protected void |
XDocsBugReporter.printBug(BugInstance bugInstance)
|
protected void |
EmacsBugReporter.printBug(BugInstance bugInstance)
|
boolean |
SortedBugCollection.remove(BugInstance bugInstance)
|
void |
BugReporter.reportBug(BugInstance bugInstance)
Report a bug. |
void |
DelegatingBugReporter.reportBug(BugInstance bugInstance)
|
void |
FilterBugReporter.reportBug(BugInstance bugInstance)
|
void |
AbstractBugReporter.reportBug(BugInstance bugInstance)
|
void |
BugReporterObserver.reportBug(BugInstance bugInstance)
Called when a BugReporter reports a bug. |
void |
XDocsBugReporter.toElement(BugInstance bugInstance)
|
Method parameters in edu.umd.cs.findbugs with type arguments of type BugInstance | |
---|---|
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. |
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 | |
---|---|
SortedBugCollection(java.util.Comparator<BugInstance> comparator)
Constructor. |
|
SortedBugCollection(ProjectStats projectStats,
java.util.Comparator<BugInstance> comparator)
Constructor. |
Uses of BugInstance in edu.umd.cs.findbugs.config |
---|
Methods in edu.umd.cs.findbugs.config with parameters of type BugInstance | |
---|---|
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 |
---|
Methods in edu.umd.cs.findbugs.detect with parameters of type BugInstance | |
---|---|
void |
FindBugsSummaryStats.reportBug(BugInstance bug)
|
Uses of BugInstance in edu.umd.cs.findbugs.filter |
---|
Methods in edu.umd.cs.findbugs.filter with parameters of type BugInstance | |
---|---|
boolean |
PriorityMatcher.match(BugInstance bugInstance)
|
boolean |
BugPatternMatcher.match(BugInstance bugInstance)
|
boolean |
OrMatcher.match(BugInstance bugInstance)
|
boolean |
AndMatcher.match(BugInstance bugInstance)
|
boolean |
ClassMatcher.match(BugInstance bugInstance)
|
boolean |
BugCodeMatcher.match(BugInstance bugInstance)
|
boolean |
Matcher.match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for. |
boolean |
ClassRegexMatcher.match(BugInstance bugInstance)
|
boolean |
MethodMatcher.match(BugInstance bugInstance)
|
Uses of BugInstance in edu.umd.cs.findbugs.gui |
---|
Methods in edu.umd.cs.findbugs.gui that return types with arguments of type BugInstance | |
---|---|
java.util.Collection<BugInstance> |
AnalysisRun.getBugInstances()
Return the collection of BugInstances. |
Methods in edu.umd.cs.findbugs.gui with parameters of type BugInstance | |
---|---|
void |
SwingGUIBugReporter.doReportBug(BugInstance bugInstance)
|
Uses of BugInstance in edu.umd.cs.findbugs.props |
---|
Methods in edu.umd.cs.findbugs.props with parameters of type BugInstance | |
---|---|
void |
WarningPropertySet.decorateBugInstance(BugInstance bugInstance)
Decorate given BugInstance with properties. |
Uses of BugInstance in edu.umd.cs.findbugs.workflow |
---|
Method parameters in edu.umd.cs.findbugs.workflow with type arguments of type BugInstance | |
---|---|
SortedBugCollection |
BugHistory.SetOperation.perform(java.util.Set<BugInstance> result,
SortedBugCollection origCollection,
SortedBugCollection newCollection)
Perform the set operation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |