switch (type) {
case '[": return "array";
case 'L": return "object";
case 'Z": return "boolean";
case 'C": return "char";
case 'F": return "float";
case 'D": return "double";
case 'B": return "byte";
case 'S": return "short";
case 'I": return "int";
case 'J": return "long";
case OBJECT: return "object";
case BOOLEAN: return "boolean";
case CHAR: return "char";
case FLOAT: return "float";
case DOUBLE: return "double";
case BYTE: return "byte";
case SHORT: return "short";
case INT: return "int";
case LONG: return "long";
}
throw new IllegalArgumentException("Illegal type signature: " + type);