public class PropertyCatalogCheck extends AbstractAddonsCheck
| Constructor and Description |
|---|
PropertyCatalogCheck()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginTree(com.puppycrawl.tools.checkstyle.api.DetailAST pRootAst) |
java.util.Set<java.lang.Integer> |
getRelevantTokens()
The tokens which this check is interested in.
|
protected void |
leaveKnownType(BinaryName pBinaryClassName,
com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
Called after leaving a CLASS_DEF, INTERFACE_DEF, ANNOTATION_DEF, or ENUM_DEF token and the type's binary class
name is known.
|
void |
setBaseDir(java.lang.String pBaseDir) |
void |
setCaseSensitive(boolean pCaseSensitive) |
void |
setEnumArgument(boolean pEnumArgument) |
void |
setExcludedFields(java.lang.String pExcludedFields) |
void |
setFileExludes(java.lang.String pFileExludes) |
void |
setPropertyFile(java.lang.String pTemplate) |
void |
setPropertyFileEncoding(java.lang.String pEncoding) |
void |
setReportDuplicates(boolean pReportDuplicates) |
void |
setReportOrphans(boolean pReportOrphans) |
void |
setSelection(java.lang.String pSelection) |
protected void |
visitKnownType(BinaryName pBinaryClassName,
com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
Called after visiting a CLASS_DEF, INTERFACE_DEF, ANNOTATION_DEF, or ENUM_DEF token and successfully determining
the type's binary class name.
|
protected void |
visitToken(BinaryName pBinaryClassName,
com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
Called to process a token.
|
finishTree, finishTree, getAcceptableTokens, getApiFixer, getClassDeclarationPosition, getCurrentBinaryName, getCurrentSimpleName, getDefaultTokens, getMyPackage, getRequiredTokens, leaveToken, leaveToken, visitTokenclearMessages, destroy, getClassLoader, getFileContents, getLine, getLines, getMessages, getTabWidth, getTokenNames, init, isCommentNodesRequired, log, log, log, setClassLoader, setFileContents, setTabWidth, setTokensfinishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeveritypublic void beginTree(com.puppycrawl.tools.checkstyle.api.DetailAST pRootAst)
beginTree in class AbstractAddonsCheckpublic java.util.Set<java.lang.Integer> getRelevantTokens()
AbstractAddonsCheckgetRelevantTokens in class AbstractAddonsCheckprotected void leaveKnownType(@Nonnull BinaryName pBinaryClassName, @Nonnull com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
AbstractAddonsCheckAbstractAddonsCheck.leaveToken(BinaryName, DetailAST) will be
performed in addition to (before) this one.leaveKnownType in class AbstractAddonsCheckpBinaryClassName - the binary class name of the visited typepAst - the token being completedpublic void setBaseDir(java.lang.String pBaseDir)
public void setCaseSensitive(boolean pCaseSensitive)
public void setEnumArgument(boolean pEnumArgument)
public void setExcludedFields(java.lang.String pExcludedFields)
public void setFileExludes(java.lang.String pFileExludes)
public void setPropertyFile(java.lang.String pTemplate)
public void setPropertyFileEncoding(java.lang.String pEncoding)
public void setReportDuplicates(boolean pReportDuplicates)
public void setReportOrphans(boolean pReportOrphans)
public void setSelection(java.lang.String pSelection)
protected void visitKnownType(@Nonnull BinaryName pBinaryClassName, @Nonnull com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
AbstractAddonsCheckAbstractAddonsCheck.visitToken(BinaryName, DetailAST) will
be performed in addition to (after) this one.visitKnownType in class AbstractAddonsCheckpBinaryClassName - the binary class name of the visited typepAst - the token to processprotected void visitToken(@Nullable BinaryName pBinaryClassName, @Nonnull com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
AbstractAddonsCheckvisitToken in class AbstractAddonsCheckpBinaryClassName - the currently active binary class namepAst - the token to process