JavaOperationMetric
, net.sourceforge.pmd.lang.metrics.Metric<MethodLikeNode>
AtfdMetric.AtfdOperationMetric
, CycloMetric
, LocMetric.LocOperationMetric
, NcssMetric.NcssOperationMetric
, NpathMetric
public abstract class AbstractJavaOperationMetric extends AbstractJavaMetric<MethodLikeNode> implements JavaOperationMetric
Constructor | Description |
---|---|
AbstractJavaOperationMetric() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
supports(ASTMethodOrConstructorDeclaration node) |
Deprecated.
Provided here for backwards binary compatibility with
supports(MethodLikeNode) .
Please explicitly link your code to that method and recompile your code. Will be remove with 7.0.0 |
boolean |
supports(MethodLikeNode node) |
Returns true if the metric can be computed on this operation.
|
equals, hashCode
computeFor
public boolean supports(MethodLikeNode node)
supports
in interface net.sourceforge.pmd.lang.metrics.Metric<MethodLikeNode>
node
- The operationpublic boolean supports(ASTMethodOrConstructorDeclaration node)
supports(MethodLikeNode)
.
Please explicitly link your code to that method and recompile your code. Will be remove with 7.0.0supports(MethodLikeNode)
Copyright © 2002–2018 PMD. All rights reserved.