public abstract class AbstractTaintDetector extends Object implements edu.umd.cs.findbugs.Detector
| Modifier and Type | Field and Description |
|---|---|
protected edu.umd.cs.findbugs.BugReporter |
bugReporter |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTaintDetector(edu.umd.cs.findbugs.BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
analyzeLocation(edu.umd.cs.findbugs.ba.ClassContext classContext,
org.apache.bcel.classfile.Method method,
org.apache.bcel.generic.InstructionHandle handle,
org.apache.bcel.generic.ConstantPoolGen cpg,
org.apache.bcel.generic.InvokeInstruction invoke,
TaintFrame fact,
String currentMethod) |
protected void |
analyzeMethod(edu.umd.cs.findbugs.ba.ClassContext classContext,
org.apache.bcel.classfile.Method method) |
void |
report() |
boolean |
shouldAnalyzeClass(edu.umd.cs.findbugs.ba.ClassContext classContext)
Allow any concrete implementation of taint detector to skip the analysis of certain files.
|
void |
visitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext) |
protected AbstractTaintDetector(edu.umd.cs.findbugs.BugReporter bugReporter)
public boolean shouldAnalyzeClass(edu.umd.cs.findbugs.ba.ClassContext classContext)
classContext - Information about the class that is about to be analyzedpublic void visitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext)
visitClassContext in interface edu.umd.cs.findbugs.Detectorpublic void report()
report in interface edu.umd.cs.findbugs.Detectorprotected void analyzeMethod(edu.umd.cs.findbugs.ba.ClassContext classContext,
org.apache.bcel.classfile.Method method)
throws edu.umd.cs.findbugs.classfile.CheckedAnalysisException
edu.umd.cs.findbugs.classfile.CheckedAnalysisExceptionprotected abstract void analyzeLocation(edu.umd.cs.findbugs.ba.ClassContext classContext,
org.apache.bcel.classfile.Method method,
org.apache.bcel.generic.InstructionHandle handle,
org.apache.bcel.generic.ConstantPoolGen cpg,
org.apache.bcel.generic.InvokeInstruction invoke,
TaintFrame fact,
String currentMethod)
throws edu.umd.cs.findbugs.ba.DataflowAnalysisException
edu.umd.cs.findbugs.ba.DataflowAnalysisExceptionCopyright © 2017. All rights reserved.