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, hashCode
public boolean supports(ASTMethodOrConstructorDeclaration node)
AbstractJavaOperationMetric
supports
in interface Metric<ASTMethodOrConstructorDeclaration>
supports
in class AbstractJavaOperationMetric
node
- The operationpublic double computeFor(ASTMethodOrConstructorDeclaration node, MetricOptions options)
Copyright © 2002–2018 PMD. All rights reserved.