code: public static String getBinaryName(TypeMirror t) {
      switch (t.getKind()) {
        case BOOLEAN: return "Z";
        case BYTE: return "B";
        case CHAR: return "C";
        case DOUBLE: return "D";
        case FLOAT: return "F";
        case INT: return "I";
        case LONG: return "J";
        case SHORT: return "S";
        case VOID: return "V";
        default:
          throw new AssertionError("Cannot resolve binary name for type: " + t);
      }
    }
docs: Returns the binary name for a primitive or void type.