code: public static String getClassName(Class<?> c) {
          String name = c.getName();
          return name.substring(name.lastIndexOf('.') + 1, name.length());
      }
docs: Get the class name without the package
  
  @param c The class name with package
  @return the class name without the package