public static final class NcssMetric.NcssClassMetric extends AbstractJavaClassMetric
Constructor and Description |
---|
NcssClassMetric() |
Modifier and Type | Method and Description |
---|---|
double |
computeFor(ASTAnyTypeDeclaration node,
MetricOptions version) |
boolean |
supports(ASTAnyTypeDeclaration node)
Returns true if the metric can be computed on this type declaration.
|
countMatchingFieldSigs, countMatchingOpSigs, getFields, getMethodsAndConstructors
equals, hashCode
public boolean supports(ASTAnyTypeDeclaration node)
AbstractJavaClassMetric
supports
in interface Metric<ASTAnyTypeDeclaration>
supports
in class AbstractJavaClassMetric
node
- The type declarationpublic double computeFor(ASTAnyTypeDeclaration node, MetricOptions version)
Copyright © 2002–2018 PMD. All rights reserved.