public static final class LocMetric.LocOperationMetric extends AbstractJavaOperationMetric
| Constructor and Description |
|---|
LocOperationMetric() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions options) |
boolean |
supports(ASTMethodOrConstructorDeclaration node)
Returns true if the metric can be computed on this operation.
|
equals, hashCodepublic boolean supports(ASTMethodOrConstructorDeclaration node)
AbstractJavaOperationMetricsupports in interface Metric<ASTMethodOrConstructorDeclaration>supports in class AbstractJavaOperationMetricnode - The operationpublic double computeFor(ASTMethodOrConstructorDeclaration node, MetricOptions options)
Copyright © 2002–2017 PMD. All rights reserved.