Interface MethodParameterDescriptor


public interface MethodParameterDescriptor
Represents the types of the method parameters and associated generic parameter if any. If will only represent the generic of level 1. For example, if the parameter is Optional<List<String>>, getTypes() returns [java.util.Optional], and getGenericParameterType(0, 0) returns List
  • Method Details

    • getTypes

      List<Class<?>> getTypes()
    • getGenericParameterType

      Class<?> getGenericParameterType(int paramIndex, int genericIndex)