public static MetricName name ( String name , String ... names ) { final int length ; if ( names == null ) { length = 0 ; } else { length = names . length ; } final String [ ] parts = new String [ length + 1 ] ; parts [ 0 ] = name ; System . arraycopy ( names , 0 , parts , 1 , length ) ; return MetricName . build ( parts ) ; }
Shorthand method for backwards compatibility in creating metric names .