Class WhitespaceAfterCheck

All Implemented Interfaces:
Configurable, Contextualizable

public class WhitespaceAfterCheck extends AbstractCheck
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.

Parent is com.puppycrawl.tools.checkstyle.TreeWalker

Violation Message Keys:

  • ws.notFollowed
  • ws.typeCast
Since:
3.0