Class AbstractJavaRulechainRule

    • Constructor Detail

      • AbstractJavaRulechainRule

        @SafeVarargs
        public AbstractJavaRulechainRule​(Class<? extends JavaNode> first,
                                         Class<? extends JavaNode>... visits)
        Specify the node types to visit as parameters.
        Parameters:
        first - The first node, there must be at least one
        visits - The rest
    • Method Detail

      • buildTargetSelector

        protected final @NonNull net.sourceforge.pmd.lang.rule.RuleTargetSelector buildTargetSelector()
        Overrides:
        buildTargetSelector in class net.sourceforge.pmd.lang.rule.AbstractRule