public class SpringTernaryCheck
extends com.puppycrawl.tools.checkstyle.api.AbstractCheck
| Modifier and Type | Class and Description |
|---|---|
static class |
SpringTernaryCheck.EqualsTest
Type of equals operators allowed in the test condition.
|
| Modifier and Type | Field and Description |
|---|---|
static int[] |
NO_REQUIRED_TOKENS |
| Constructor and Description |
|---|
SpringTernaryCheck() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getAcceptableTokens() |
int[] |
getDefaultTokens() |
int[] |
getRequiredTokens() |
void |
setEqualsTest(String equalsTest) |
void |
visitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast) |
beginTree, clearMessages, destroy, finishTree, getFileContents, getLine, getLines, getMessages, getTabWidth, getTokenNames, init, isCommentNodesRequired, leaveToken, log, log, log, setFileContents, setTabWidth, setTokensfinishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeveritypublic int[] getAcceptableTokens()
getAcceptableTokens in class com.puppycrawl.tools.checkstyle.api.AbstractCheckpublic void visitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
visitToken in class com.puppycrawl.tools.checkstyle.api.AbstractCheckpublic void setEqualsTest(String equalsTest)
public int[] getDefaultTokens()
getDefaultTokens in class com.puppycrawl.tools.checkstyle.api.AbstractCheckpublic int[] getRequiredTokens()
getRequiredTokens in class com.puppycrawl.tools.checkstyle.api.AbstractCheckCopyright © 2020. All rights reserved.