Class SeparatorWrapCheck

All Implemented Interfaces:
Configurable, Contextualizable

public class SeparatorWrapCheck extends AbstractCheck
Checks line wrapping with separators.
  • Property option - Specify policy on how to wrap lines. Type is com.puppycrawl.tools.checkstyle.checks.whitespace.WrapOption. Default value is eol.
  • Property tokens - tokens to check Type is java.lang.String[]. Validation type is tokenSet. Default value is: DOT, COMMA.

Parent is com.puppycrawl.tools.checkstyle.TreeWalker

Violation Message Keys:

  • line.new
  • line.previous
Since:
5.8