Class LambdaParameterNameCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class LambdaParameterNameCheck
    extends AbstractNameCheck

    Checks lambda parameter names.

    • Property format - Sets the pattern to match valid identifiers. Type is java.util.regex.Pattern. Default value is "^([a-z][a-zA-Z0-9]*|_)$".

    Parent is com.puppycrawl.tools.checkstyle.TreeWalker

    Violation Message Keys:

    • name.invalidPattern
    Since:
    8.11