public class ClassScreener extends Object implements IClassScreener
FindBugs| Constructor and Description |
|---|
ClassScreener()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllowedClass(String className)
Add the name of a class to be matched by the screener.
|
void |
addAllowedPackage(String packageName)
Add the name of a package to be matched by the screener.
|
void |
addAllowedPrefix(String prefix)
Add the name of a prefix to be matched by the screener.
|
boolean |
matches(String fileName)
Return whether or not the name of the given file matches.
|
boolean |
vacuous()
Does the class screener always return true?
|
public ClassScreener()
public void addAllowedClass(String className)
className - name of a class to be matchedpublic void addAllowedPackage(String packageName)
packageName - name of the package to be matchedpublic void addAllowedPrefix(String prefix)
prefix - name of the prefix to be matchedpublic boolean matches(String fileName)
IClassScreenermatches in interface IClassScreenerpublic boolean vacuous()
IClassScreenervacuous in interface IClassScreenerCopyright © 2003–2015. All rights reserved.