public class PropertyCatalogCheck extends AbstractAddonsCheck
| Constructor and Description |
|---|
PropertyCatalogCheck()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginTree(DetailAST pRootAst) |
Set<Integer> |
getRelevantTokens()
The tokens which this check is interested in.
|
protected void |
leaveKnownType(BinaryName pBinaryClassName,
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(String pBaseDir) |
void |
setCaseSensitive(boolean pCaseSensitive) |
void |
setEnumArgument(boolean pEnumArgument) |
void |
setExcludedFields(String pExcludedFields) |
void |
setPropertyFile(String pTemplate) |
void |
setPropertyFileEncoding(String pEncoding) |
void |
setReportDuplicates(boolean pReportDuplicates) |
void |
setReportOrphans(boolean pReportOrphans) |
void |
setSelection(String pSelection) |
protected void |
visitKnownType(BinaryName pBinaryClassName,
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,
DetailAST pAst)
Called to process a token.
|
finishTree, finishTree, getApiFixer, getClassDeclarationPosition, getCurrentBinaryName, getCurrentSimpleName, getDefaultTokens, getMyPackage, getRequiredTokens, leaveToken, leaveToken, visitTokendestroy, getAcceptableTokens, getClassLoader, getFileContents, getLine, getLines, getTabWidth, getTokenNames, init, isCommentNodesRequired, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic void beginTree(DetailAST pRootAst)
beginTree in class AbstractAddonsCheckpublic Set<Integer> getRelevantTokens()
AbstractAddonsCheckgetRelevantTokens in class AbstractAddonsCheckprotected void leaveKnownType(@Nonnull BinaryName pBinaryClassName, @Nonnull 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(String pBaseDir)
public void setCaseSensitive(boolean pCaseSensitive)
public void setEnumArgument(boolean pEnumArgument)
public void setExcludedFields(String pExcludedFields)
public void setPropertyFile(String pTemplate)
public void setPropertyFileEncoding(String pEncoding)
public void setReportDuplicates(boolean pReportDuplicates)
public void setReportOrphans(boolean pReportOrphans)
public void setSelection(String pSelection)
protected void visitKnownType(@Nonnull BinaryName pBinaryClassName, @Nonnull 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 DetailAST pAst)
AbstractAddonsCheckvisitToken in class AbstractAddonsCheckpBinaryClassName - the currently active binary class namepAst - the token to process