com.puppycrawl.tools.checkstyle.checks.coding
public abstract class AbstractIllegalCheck extends Check
Constructor Summary | |
---|---|
protected | AbstractIllegalCheck(String[] aInitialNames)
Constructs an object. |
Method Summary | |
---|---|
protected boolean | isIllegalClassName(String aIdent)
Checks if given class is illegal.
|
void | setIllegalClassNames(String[] aClassNames)
Set the list of illegal classes.
|
Parameters: aInitialNames the initial class names to treat as illegal
Parameters: aIdent ident to check.
Returns: true if given ident is illegal.
Parameters: aClassNames array of illegal exception classes