public static Type internClassName(String name) {
    if (name == null) {
      throw new NullPointerException("name == null");
    }

    if (name.startsWith("[")) {
      return intern(name);
    }

    return intern('L' + name + ';');
  }
Returns the unique instance corresponding to the type of the class with the given name. Calling
this method is equivalent to calling {@code intern(name)} if {@code name} begins with {@code
"["} and calling {@code intern("L" + name + ";")} in all other cases.

@param name {@code non-null;} the name of the class whose type is desired
@return {@code non-null;} the corresponding type
@throws IllegalArgumentException thrown if the name has invalid syntax
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/type/Type.java