接口 ParameterNameDiscoverer

    • 方法详细资料

      • getParameterNames

        String[] getParameterNames​(Method method)
        Return parameter names for this method, or null if they cannot be determined.
        参数:
        method - method to find parameter names for
        返回:
        an array of parameter names if the names can be resolved, or null if they cannot
      • getParameterNames

        String[] getParameterNames​(Constructor<?> ctor)
        Return parameter names for this constructor, or null if they cannot be determined.
        参数:
        ctor - constructor to find parameter names for
        返回:
        an array of parameter names if the names can be resolved, or null if they cannot