Class NoLineWrapCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class NoLineWrapCheck
    extends AbstractCheck
    Checks that chosen statements are not line-wrapped. By default, this Check restricts wrapping import and package statements, but it's possible to check any statement.

    Parent is com.puppycrawl.tools.checkstyle.TreeWalker

    Violation Message Keys:

    • no.line.wrap
    Since:
    5.8