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
    • Method Summary

      • Methods inherited from class net.sourceforge.pmd.lang.metrics.AbstractMetric

        equals, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.sourceforge.pmd.lang.metrics.Metric

        computeFor, supports
    • Constructor Detail

      • AbstractJavaMetric

        public AbstractJavaMetric()