com.puppycrawl.tools.checkstyle.checks.whitespace
public class WhitespaceAfterCheck extends Check
Checks that a token is followed by whitespace, with the exception that it
does not check for whitespace after the semicolon of an empty for iterator.
Use Check EmptyForIteratorPad to validate
empty for iterators.
By default the check will check the following tokens:
COMMA,
SEMI,
TYPECAST.
An example of how to configure the check is:
<module name="WhitespaceAfter"/>
An example of how to configure the check for whitespace only after
COMMA and SEMI tokens is:
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA, SEMI"/>
</module>
Version: 1.0
| Method Summary | |
|---|---|
| int[] | getDefaultTokens() |
| void | visitToken(DetailAST aAST) |