public static String constantToHuman(Constant cst) {
    int type = constantToValueType(cst);

    if (type == VALUE_NULL) {
      return "null";
    }

    StringBuilder sb = new StringBuilder();

    sb.append(cst.typeName());
    sb.append(' ');
    sb.append(cst.toHuman());

    return sb.toString();
  }
Gets the colloquial type name and human form of the type of the given constant, when used as an
encoded value.

@param cst {@code non-null;} the constant
@return {@code non-null;} its type name and human form
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/ValueEncoder.java