Mega Code Archive

 
Categories / Java Book / 008 Reflection
 

0455 Get return type

Type getGenericReturnType() Returns a Type object that represents the formal return type of the method represented by this Method object. Class<?> getReturnType() Returns a Class object that represents the formal return type of the method represented by this Method object.