public static final class NcssMetric.NcssOperationMetric extends AbstractJavaOperationMetric
| Constructor and Description |
|---|
NcssOperationMetric() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeFor(ASTMethodOrConstructorDeclaration node,
MetricOptions version) |
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 version)
Copyright © 2002–2017 PMD. All rights reserved.