public class FindSqlInjection extends java.lang.Object implements Detector
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor and Description |
---|
FindSqlInjection(BugReporter bugReporter) |
Modifier and Type | Method and Description |
---|---|
static boolean |
isCloseQuote(java.lang.String s) |
static boolean |
isOpenQuote(java.lang.String s) |
void |
report()
This method is called after all classes to be visited.
|
void |
visitClassContext(ClassContext classContext)
Visit the ClassContext for a class which should be analyzed for instances
of bug patterns.
|
public FindSqlInjection(BugReporter bugReporter)
public void visitClassContext(ClassContext classContext)
Detector
visitClassContext
in interface Detector
classContext
- the ClassContextpublic static boolean isOpenQuote(java.lang.String s)
public static boolean isCloseQuote(java.lang.String s)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.