private static char shortFormCharFor(Type type) {
    char descriptorChar = type.getDescriptor().charAt(0);

    if (descriptorChar == '[') {
      return 'L';
    }

    return descriptorChar;
  }
Gets the short-form character for the given type.

@param type {@code non-null;} the type
@return the corresponding short-form character
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/ProtoIdItem.java