Class EmptyStatementCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class EmptyStatementCheck
    extends AbstractCheck
    Detects empty statements (standalone ";" semicolon). Empty statements often introduce bugs that are hard to spot

    Parent is com.puppycrawl.tools.checkstyle.TreeWalker

    Violation Message Keys:

    • empty.statement
    Since:
    3.1