JavaClassMetric, net.sourceforge.pmd.lang.metrics.Metric<ASTAnyTypeDeclaration>public static final class LocMetric.LocClassMetric extends AbstractJavaClassMetric
| Constructor | Description |
|---|---|
LocClassMetric() |
| 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, getMethodsAndConstructorsequals, hashCodepublic 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.