JavaClassMetric
, net.sourceforge.pmd.lang.metrics.Metric<ASTAnyTypeDeclaration>
public class NopaMetric extends AbstractJavaClassMetric
Constructor | Description |
---|---|
NopaMetric() |
Modifier and Type | Method | Description |
---|---|---|
double |
computeFor(ASTAnyTypeDeclaration node,
net.sourceforge.pmd.lang.metrics.MetricOptions options) |
|
boolean |
supports(ASTAnyTypeDeclaration node) |
Returns true if the metric can be computed on this type declaration.
|
countMatchingFieldSigs, countMatchingOpSigs, getFields, getMethodsAndConstructors
public boolean supports(ASTAnyTypeDeclaration node)
AbstractJavaClassMetric
supports
in interface net.sourceforge.pmd.lang.metrics.Metric<ASTAnyTypeDeclaration>
supports
in class AbstractJavaClassMetric
node
- The type declarationpublic double computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Copyright © 2002–2018 PMD. All rights reserved.