public final class EmptyLinesCheck extends Check
We believe that comments and empty lines are evil. If you need to use an empty line in order to add a vertical separator of concepts - refactor your code and make it more cohesive and readable. The bottom line is that every method should look solid and do just one thing.
| Constructor and Description |
|---|
EmptyLinesCheck() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDefaultTokens() |
void |
visitToken(DetailAST ast) |
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic int[] getDefaultTokens()
getDefaultTokens in class Checkpublic void visitToken(DetailAST ast)
visitToken in class CheckCopyright © 2011–2014 Qulice.com. All rights reserved.