code: 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 );
      }
docs: Get default metric name. Use abbreviated package name, e.g., foo.bar.ClassA.methodB -> f.b.ClassA.methodB