org.springframework.core

Interface ParameterNameDiscoverer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String[] getParameterNames(java.lang.reflect.Constructor<?> ctor)
      Return parameter names for this constructor, or null if they cannot be determined.
      java.lang.String[] getParameterNames(java.lang.reflect.Method method)
      Return parameter names for this method, or null if they cannot be determined.
    • Method Detail

      • getParameterNames

        @Nullable
        java.lang.String[] getParameterNames(java.lang.reflect.Method method)
        Return parameter names for this method, or null if they cannot be determined.
        Parameters:
        method - method to find parameter names for
        Returns:
        an array of parameter names if the names can be resolved, or null if they cannot
      • getParameterNames

        @Nullable
        java.lang.String[] getParameterNames(java.lang.reflect.Constructor<?> ctor)
        Return parameter names for this constructor, or null if they cannot be determined.
        Parameters:
        ctor - constructor to find parameter names for
        Returns:
        an array of parameter names if the names can be resolved, or null if they cannot