Class AbstractNcssCountRule<T extends ApexNode<?>>

    • Constructor Detail

      • AbstractNcssCountRule

        protected AbstractNcssCountRule​(Class<T> nodeClass)
        Deprecated.
        Count the nodes of the given type using NCSS rules.
        Parameters:
        nodeClass - class of node to count
    • Method Detail

      • getMetric

        protected int getMetric​(T node)
        Deprecated.
        Specified by:
        getMetric in class net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<T extends ApexNode<?>>