Package net.sourceforge.pmd.lang.metrics
Class ParameterizedMetricKey<N extends Node>
- java.lang.Object
-
- net.sourceforge.pmd.lang.metrics.ParameterizedMetricKey<N>
-
-
Field Summary
Fields Modifier and Type Field Description MetricKey<N>
key
The metric key.MetricOptions
options
The options of the metric.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static <N extends Node>
ParameterizedMetricKey<N>getInstance(MetricKey<N> key, MetricOptions options)
Builds a parameterized metric key.int
hashCode()
String
toString()
-
-
-
Field Detail
-
options
public final MetricOptions options
The options of the metric.
-
-
Method Detail
-
getInstance
public static <N extends Node> ParameterizedMetricKey<N> getInstance(MetricKey<N> key, MetricOptions options)
Builds a parameterized metric key.- Type Parameters:
N
- The type of node of the metric key- Parameters:
key
- The keyoptions
- The options- Returns:
- An instance of parameterized metric key corresponding to the parameters
-
-