N
- Type of nodes the metric can be computed onpublic interface MetricKey<N extends Node>
Modifier and Type | Method and Description |
---|---|
Metric<N> |
getCalculator()
Returns the object used to calculate the metric.
|
java.lang.String |
name()
Returns the name of the metric.
|
boolean |
supports(N node)
Returns true if the metric held by this key can be computed on this node.
|
java.lang.String name()
Metric<N> getCalculator()
boolean supports(N node)
node
- The node to testCopyright © 2002–2017 PMD. All rights reserved.