org.springframework.core

Class KotlinReflectionParameterNameDiscoverer

  • java.lang.Object
    • org.springframework.core.KotlinReflectionParameterNameDiscoverer
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KotlinReflectionParameterNameDiscoverer

        public KotlinReflectionParameterNameDiscoverer()
    • Method Detail

      • getParameterNames

        @Nullable
        public java.lang.String[] getParameterNames(java.lang.reflect.Method method)
        Description copied from interface: ParameterNameDiscoverer
        Return parameter names for this method, or null if they cannot be determined.
        Specified by:
        getParameterNames in interface ParameterNameDiscoverer
        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
        public java.lang.String[] getParameterNames(java.lang.reflect.Constructor<?> ctor)
        Description copied from interface: ParameterNameDiscoverer
        Return parameter names for this constructor, or null if they cannot be determined.
        Specified by:
        getParameterNames in interface ParameterNameDiscoverer
        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