if (clazz == Void.TYPE) return "void"; if (clazz == Integer.TYPE) return "jint"; if (clazz == Boolean.TYPE) return "jboolean"; if (clazz == Long.TYPE) return "jlong"; if (clazz == Short.TYPE) return "jshort"; if (clazz == Character.TYPE) return "jchar"; if (clazz == Byte.TYPE) return "jbyte"; if (clazz == Float.TYPE) return "jfloat"; if (clazz == Double.TYPE) return "jdouble"; if (clazz == String.class) return "jstring"; if (clazz.isArray()) { Class componentType = clazz.getComponentType(); return getTypeSignature4(componentType) + " *"; } return getClassName(clazz) + " *";
return getTypeSignature4(clazz, false);
static String getTypeSignature4(Class clazz) {	if (clazz == Void.TYPE) return "void";	if (clazz == Integer.TYPE) return "jint";	if (clazz == Boolean.TYPE) return "jboolean";	if (clazz == Long.TYPE) return "jlong";	if (clazz == Short.TYPE) return "jshort";	if (clazz == Character.TYPE) return "jchar";	if (clazz == Byte.TYPE) return "jbyte";	if (clazz == Float.TYPE) return "jfloat";	if (clazz == Double.TYPE) return "jdouble";	if (clazz == String.class) return "jstring";	if (clazz.isArray()) {		Class componentType = clazz.getComponentType();		return getTypeSignature4(componentType) + " *";	}	return getClassName(clazz) + " *";}