public static final class LocMetric.LocClassMetric extends AbstractJavaClassMetric
| Constructor and Description |
|---|
LocClassMetric() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeFor(ASTAnyTypeDeclaration node,
MetricOptions options) |
boolean |
supports(ASTAnyTypeDeclaration node)
Returns true if the metric can be computed on this type declaration.
|
countMatchingFieldSigs, countMatchingOpSigs, getFields, getMethodsAndConstructorsequals, hashCodepublic boolean supports(ASTAnyTypeDeclaration node)
AbstractJavaClassMetricsupports in interface Metric<ASTAnyTypeDeclaration>supports in class AbstractJavaClassMetricnode - The type declarationpublic double computeFor(ASTAnyTypeDeclaration node, MetricOptions options)
Copyright © 2002–2017 PMD. All rights reserved.