I have a java.lang.reflect.Method object and I would like to know if it\'s return type is void.
java.lang.reflect.Method
void
I\'ve checked the Javadocs and there is a
method.getReturnType() returns void.class/Void.TYPE.
method.getReturnType()
void.class
Void.TYPE