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
To do it without 3rd party libraries, you may create an array of length one and read out its first element (both operations via java.lang.reflect.Array):
Object o = Array.get(Array.newInstance(klass, 1), 0);