subsys/metrics/core/src/main/java/org/commonjava/indy/metrics/IndyMetricsConstants.java
public static String getDefaultName( Class<?> declaringClass, String method )
    {
        // minimum len 1 shortens the package name and keeps class name
        String cls = ClassUtils.getAbbreviatedName( declaringClass.getName(), 1 );
        return name( cls, method );
    }
public static String getDefaultName( Class<?> declaringClass, String method )
    {
        // minimum len 1 shortens the package name and keeps class name
        String cls = ClassUtils.getAbbreviatedName( declaringClass.getName(), 1 );
        return name( cls, method );
    }
public static String getDefaultName ( Class < ? > declaringClass , String method ) { // minimum len 1 shortens the package name and keeps class name String cls = ClassUtils . getAbbreviatedName ( declaringClass . getName ( ) , 1 ) ; return name ( cls , method ) ; }
Get default metric name. Use abbreviated package name, e.g., foo.bar.ClassA.methodB -> f.b.ClassA.methodB
Get default metric name . Use abbreviated package name e . g . foo . bar . ClassA . methodB - > f . b . ClassA . methodB