public class AnalysisPass
extends java.lang.Object
ExecutionPlan
Constructor | Description |
---|---|
AnalysisPass() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addToPass(DetectorFactory factory) |
Make given DetectorFactory a member of this pass.
|
void |
append(DetectorFactory factory) |
Append the given DetectorFactory to the end of the ordered detector list.
|
boolean |
contains(DetectorFactory factory) |
Return whether or not this pass contains the given DetectorFactory.
|
java.util.Collection<DetectorFactory> |
getMembers() |
Get the members of this pass.
|
java.util.Set<DetectorFactory> |
getUnpositionedMembers() |
Get Set of pass members which haven't been assigned a position in the
pass.
|
Detector2[] |
instantiateDetector2sInPass(BugReporter bugReporter) |
Instantiate all of the Detector2s in this pass and return them in a
(correctly-ordered) array.
|
Detector[] |
instantiateDetectorsInPass(BugReporter bugReporter) |
Deprecated.
call instantiateDetector2sInPass() instead
|
java.util.Iterator<DetectorFactory> |
iterator() |
Get an Iterator over the DetectorFactory objects in the pass, in their
assigned order.
|
public void addToPass(DetectorFactory factory)
factory
- a DetectorFactorypublic void append(DetectorFactory factory)
factory
- a DetectorFactorypublic java.util.Collection<DetectorFactory> getMembers()
public java.util.Set<DetectorFactory> getUnpositionedMembers()
public java.util.Iterator<DetectorFactory> iterator()
public boolean contains(DetectorFactory factory)
factory
- the DetectorFactorypublic Detector2[] instantiateDetector2sInPass(BugReporter bugReporter)
bugReporter
- the BugReporter@Deprecated public Detector[] instantiateDetectorsInPass(BugReporter bugReporter)
bugReporter
- the BugReporterSpotBugs is licensed under the LGPL.