public static String getPrimitiveArrayToken(int code){
		switch(code){
			case JavaClassConstants.T_BOOLEAN:
				return "boolean";
			case JavaClassConstants.T_CHAR:
				return "char";
			case JavaClassConstants.T_FLOAT:
				return "float";
			case JavaClassConstants.T_DOUBLE:
				return "double";
			case JavaClassConstants.T_BYTE:
				return "byte";
			case JavaClassConstants.T_SHORT:
				return "short";
			case JavaClassConstants.T_INT:
				return "int";
			case JavaClassConstants.T_LONG:
				return "long";
			default:
				throw new IllegalArgumentException("Invalid primitive type code: " + code);
		}
	}
The array type codes can be found in the JVM documentation for the 
"newarray" instruction.
@param code
@return
Ghidra/Processors/JVM/src/main/java/ghidra/app/util/pcodeInject/ArrayMethods.java