Class OuterTypeFilenameCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class OuterTypeFilenameCheck
    extends AbstractCheck
    Checks that the outer type name and the file name match. For example, the class Foo must be in a file named Foo.java.

    Parent is com.puppycrawl.tools.checkstyle.TreeWalker

    Violation Message Keys:

    • type.file.mismatch
    Since:
    5.3