|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ClassScreener
public class ClassScreener
Class to pre-screen class files, so that only a subset are analyzed. This supports the -onlyAnalyze command line option.
FindBugs
Field Summary | |
---|---|
private static boolean |
DEBUG
|
private java.util.LinkedList<java.util.regex.Pattern> |
patternList
|
Constructor Summary | |
---|---|
ClassScreener()
Constructor. |
Method Summary | |
---|---|
void |
addAllowedClass(java.lang.String className)
Add the name of a class that should be matched by the screener. |
void |
addAllowedPackage(java.lang.String packageName)
Add the name of a package that should be matched by the screener. |
void |
addAllowedPrefix(java.lang.String prefix)
Add the name of a package that should be matched by the screener. |
boolean |
matches(java.lang.String fileName)
Return whether or not the name of the given file matches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final boolean DEBUG
private java.util.LinkedList<java.util.regex.Pattern> patternList
Constructor Detail |
---|
public ClassScreener()
Method Detail |
---|
public void addAllowedClass(java.lang.String className)
className
- name of a class that should be matchedpublic void addAllowedPackage(java.lang.String packageName)
packageName
- name of the package that should be matchedpublic void addAllowedPrefix(java.lang.String prefix)
packageName
- name of the package that should be matchedpublic boolean matches(java.lang.String fileName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |