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, getMethodsAndConstructorspublic boolean supports(ASTAnyTypeDeclaration node)
AbstractJavaClassMetricsupports in interface net.sourceforge.pmd.lang.metrics.Metric<ASTAnyTypeDeclaration>supports in class AbstractJavaClassMetricnode - The type declarationpublic double computeFor(ASTAnyTypeDeclaration node, net.sourceforge.pmd.lang.metrics.MetricOptions options)
Copyright © 2002–2018 PMD. All rights reserved.