JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.validation

Interface ParameterNameProvider



  • public interface ParameterNameProvider
    Provides names for method and constructor parameters.

    Used by the Bean Validation runtime when creating constraint violation objects for violated method constraints.

    Implementations must be thread-safe.

    Since:
    1.1
    Author:
    Gunnar Morling
    • Method Detail

      • getParameterNames

        List<String> getParameterNames(Constructor<?> constructor)
        Returns the names of the parameters of the given constructor.
        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

        List<String> getParameterNames(Method method)
        Returns the names of the parameters of the given method.
        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
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /