Class JavaMetricsComputer
- java.lang.Object
-
- net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer<ASTAnyTypeDeclaration,MethodLikeNode>
-
- net.sourceforge.pmd.lang.java.metrics.JavaMetricsComputer
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.metrics.MetricsComputer<ASTAnyTypeDeclaration,MethodLikeNode>
public final class JavaMetricsComputer extends net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer<ASTAnyTypeDeclaration,MethodLikeNode>
Computes a metric.- Author:
- Clément Fournier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<MethodLikeNode>
findOperations(ASTAnyTypeDeclaration node)
static JavaMetricsComputer
getInstance()
-
-
-
Method Detail
-
getInstance
@InternalApi public static JavaMetricsComputer getInstance()
-
findOperations
protected List<MethodLikeNode> findOperations(ASTAnyTypeDeclaration node)
- Specified by:
findOperations
in classnet.sourceforge.pmd.lang.metrics.AbstractMetricsComputer<ASTAnyTypeDeclaration,MethodLikeNode>
-
-