getReturnClass abstract method

Class<Object> getReturnClass()

Gets the return type of the method.

Returns:

  • The return type as a Type
  • Type for void methods

Example:

final returnType = method.getReturnType();

Implementation

Class<Object> getReturnClass();