Class CommentDefaultAccessModifierRule

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.ast.AstVisitor, JavaVisitor, net.sourceforge.pmd.lang.rule.Rule, net.sourceforge.pmd.properties.PropertySource

    public class CommentDefaultAccessModifierRule
    extends AbstractJavaRulechainRule
    Check for Methods, Fields and Nested Classes that have a default access modifier This rule ignores all nodes annotated with @VisibleForTesting by default. Use the ignoredAnnotationsDescriptor property to customize the ignored rules.
    Author:
    Damián Techeira