Class AbstractApexOperationMetric

    • Constructor Detail

      • AbstractApexOperationMetric

        public AbstractApexOperationMetric()
    • Method Detail

      • supports

        public boolean supports​(ASTMethod node)
        Checks if the metric can be computed on the node. For now, we filter out <clinit>, <init> and clone, which are present in all apex class nodes even if they're not implemented, which may yield unexpected results.
        Specified by:
        supports in interface net.sourceforge.pmd.lang.metrics.Metric<ASTMethod>
        Parameters:
        node - The node to check
        Returns:
        True if the metric can be computed