getClass abstract method

Class<Object> getClass()

Gets the type of the parameter with proper generics.

Returns:

  • The parameter type as a Type

Example:

final type = param.getType(); // Type

Implementation

Class<Object> getClass();