public static String localString(RegisterSpec spec) {
    return spec.regString()
        + ' '
        + spec.getLocalItem().toString()
        + ": "
        + spec.getTypeBearer().toHuman();
  }
Returns the local variable listing string for a single register spec.

@param spec {@code non-null;} the spec to convert
@return {@code non-null;} the string form
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/LocalStart.java