Class DefaultParameterNameProvider

    • Constructor Detail

      • DefaultParameterNameProvider

        public DefaultParameterNameProvider()
    • Method Detail

      • getParameterNames

        public List<String> getParameterNames​(Constructor<?> constructor)
        Description copied from interface: ParameterNameProvider
        Returns the names of the parameters of the given constructor.
        Specified by:
        getParameterNames in interface ParameterNameProvider
        Parameters:
        constructor - the constructor for which the parameter names shall be retrieved; never null
        Returns:
        a list containing the names of the parameters of the given constructor; may be empty but never null
      • getParameterNames

        public List<String> getParameterNames​(Method method)
        Description copied from interface: ParameterNameProvider
        Returns the names of the parameters of the given method.
        Specified by:
        getParameterNames in interface ParameterNameProvider
        Parameters:
        method - the method for which the parameter names shall be retrieved; never null
        Returns:
        a list containing the names of the parameters of the given method; may be empty but never null