Class OverloadMethodsDeclarationOrderCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class OverloadMethodsDeclarationOrderCheck
    extends AbstractCheck
    Checks that overloaded methods are grouped together. Overloaded methods have the same name but different signatures where the signature can differ by the number of input parameters or type of input parameters or both.

    Parent is com.puppycrawl.tools.checkstyle.TreeWalker

    Violation Message Keys:

    • overload.methods.declaration
    Since:
    5.8