Class PickAnyArgumentHint

    • Constructor Detail

      • PickAnyArgumentHint

        public PickAnyArgumentHint()
        Creates the an argument picker which extracts the type of the first parameter.
      • PickAnyArgumentHint

        public PickAnyArgumentHint​(int parameterIndex,
                                   int genericTypeIndex)
        Creates a picker which will extract the parameterIndex-th parameter type, or its genericTypeIndex-th generic type genericTypeIndex is >=0.
        Parameters:
        parameterIndex - the index of the parameter from which to extract the type
        genericTypeIndex - if >=0, then returns the corresponding generic type instead of the parameter type.