JavaOperationMetric
, net.sourceforge.pmd.lang.metrics.Metric<ASTMethodOrConstructorDeclaration>
AtfdMetric.AtfdOperationMetric
, CycloMetric
, LocMetric.LocOperationMetric
, NcssMetric.NcssOperationMetric
, NpathMetric
public abstract class AbstractJavaOperationMetric extends AbstractJavaMetric<ASTMethodOrConstructorDeclaration> implements JavaOperationMetric
Constructor | Description |
---|---|
AbstractJavaOperationMetric() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
supports(ASTMethodOrConstructorDeclaration node) |
Returns true if the metric can be computed on this operation.
|
equals, hashCode
computeFor
public boolean supports(ASTMethodOrConstructorDeclaration node)
supports
in interface net.sourceforge.pmd.lang.metrics.Metric<ASTMethodOrConstructorDeclaration>
node
- The operationCopyright © 2002–2018 PMD. All rights reserved.