code: public static String removeJavaPackageName(String className) {
          int idx = className.lastIndexOf('.');
          if (idx >= 0) {
              return className.substring(idx + 1);
          } else {
              return className;
          }
      }
docs: Removes the package from the type name from the given type