public class MetricKeyUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
of(java.lang.String name,
Metric<T> metric)
Creates a new metric key holding a metric which can be computed on a class.
|
public static <T extends Node> MetricKey<T> of(java.lang.String name, Metric<T> metric)
T
- Type of node the metric can be computed onname
- The name of the metricmetric
- The metric to useCopyright © 2002–2017 PMD. All rights reserved.