public static String primitiveTypeLabel(char typeChar){
switch (typeChar) {
case 'B':
    return "byte";
case 'C':
  return "char";
case 'D':
return "double";
case 'F':
return "float";
case 'I':
return "int";
case 'J':
return "long";
case 'S':
return "short";
case 'V':
return "void";
case 'Z':
return "boolean";
default :
System.err.println("Unexpected class char " + typeChar);
assert false;
return "UNKNOWN";
}
}

public static String primitiveTypeLabel ( char typeChar ) { switch ( typeChar ) { case 'B' : return "byte" ; case 'C' : return "char" ; case 'D' : return "double" ; case 'F' : return "float" ; case 'I' : return "int" ; case 'J' : return "long" ; case 'S' : return "short" ; case 'V' : return "void" ; case 'Z' : return "boolean" ; default : System . err . println ( "Unexpected class char " + typeChar ) ; assert false ; return "UNKNOWN" ; } }
converts a single - character primitive type into its human - readable equivalent .
