code: public static String getShortClassName( Class<?> clazz )
      {
          String className = clazz.getName();
          int idx = className.lastIndexOf('.');
          return (idx == -1 ? className : className.substring(idx+1));
      }
docs: Get the short name of the given class