Class AbstractJavaMetric<N extends net.sourceforge.pmd.lang.ast.Node>

  • Type Parameters:
    N - Type of node the metric can be computed on
    All Implemented Interfaces:
    net.sourceforge.pmd.lang.metrics.Metric<N>
    Direct Known Subclasses:
    AbstractJavaClassMetric, AbstractJavaOperationMetric

    public abstract class AbstractJavaMetric<N extends net.sourceforge.pmd.lang.ast.Node>
    extends net.sourceforge.pmd.lang.metrics.AbstractMetric<N>
    Base class for metrics. Metric objects encapsulate the computational logic required to compute a metric from a node.
    Author:
    Clément Fournier
    • Constructor Detail

      • AbstractJavaMetric

        public AbstractJavaMetric()