java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.Check
com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck
- All Implemented Interfaces:
- com.puppycrawl.tools.checkstyle.api.Configurable, com.puppycrawl.tools.checkstyle.api.Contextualizable
- Direct Known Subclasses:
- ParenPadCheck, TypecastParenPadCheck
- abstract class AbstractParenPadCheck
- extends com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
Abstract class for checking the padding of parentheses. That is whether a
space is required after a left parenthesis and before a right parenthesis,
or such spaces are forbidden.
- Version:
- 1.0
| Fields inherited from class com.puppycrawl.tools.checkstyle.api.Check |
|
| Fields inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean |
|
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractParenPadCheck
AbstractParenPadCheck()
- Sets the paren pad otion to nospace.
processLeft
protected void processLeft(com.puppycrawl.tools.checkstyle.api.DetailAST aAST)
- Process a token representing a left parentheses.
processRight
protected void processRight(com.puppycrawl.tools.checkstyle.api.DetailAST aAST)
- Process a token representing a right parentheses.