|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.Check
com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalCheck
public abstract class AbstractIllegalCheck
Support for checks that look for usage of illegal types.
| Constructor Summary | |
|---|---|
protected |
AbstractIllegalCheck(java.lang.String[] aInitialNames)
Constructs an object. |
| Method Summary | |
|---|---|
protected boolean |
isIllegalClassName(java.lang.String aIdent)
Checks if given class is illegal. |
void |
setIllegalClassNames(java.lang.String[] aClassNames)
Set the list of illegal classes. |
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.Check |
|---|
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getDefaultTokens, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens, visitToken |
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter |
|---|
getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverity |
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean |
|---|
configure, contextualize, finishLocalSetup, getConfiguration, setupChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractIllegalCheck(java.lang.String[] aInitialNames)
aInitialNames - the initial class names to treat as illegal| Method Detail |
|---|
protected final boolean isIllegalClassName(java.lang.String aIdent)
aIdent - ident to check.
public final void setIllegalClassNames(java.lang.String[] aClassNames)
aClassNames - array of illegal exception classes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||