Class CommentDefaultAccessModifierRule

  • All Implemented Interfaces:
    JavaParserVisitor, net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.properties.PropertySource, net.sourceforge.pmd.Rule

    public class CommentDefaultAccessModifierRule
    extends AbstractIgnoredAnnotationRule
    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