I have a Class> reference for an arbitrary type. How to get that type\'s initialisation value? Is there some library method for this or do I have to rol
Class>
To check if a parameter of a Method is primitive, call isPrimitive(); ont the parameter type:
isPrimitive();
Method m = ...; // to test the first parameter only: m.getParameterTypes()[0].isPrimitive();