title: How to determine by reflection if a Method returns 'void'
body: <p>I have a <code>java.lang.reflect.Method</code> object and I would like to know if it's return type is <code>void</code>. </p>
  
  <p>I've checked the <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html" rel="noreferrer">Javadocs</a> and there is a <code>getReturnType()</code> method that returns a Class object. The thing is that they don't say what would be the return type if the method is void.</p>
  
  <p>Thanks!</p>