Interface ParametersSource


public interface ParametersSource
Interface providing access to the method, containing class and domain type as source object for parameter descriptors.
Since:
3.2.1
Author:
Mark Paluch
  • Method Details

    • of

      static ParametersSource of(Method method)
      Create a new parameter source for the given Method.
      Parameters:
      method - the method to use.
      Returns:
      a new parameter source for the given Method.
    • of

      static ParametersSource of(RepositoryMetadata metadata, Method method)
      Create a new parameter source for the given Method in the context of RepositoryMetadata.
      Parameters:
      method - the method to use.
      Returns:
      a new parameter source for the given Method.
    • getContainingClass

      Class<?> getContainingClass()
      Returns:
      the class that contains the getMethod().
    • getMethod

      Method getMethod()
      Returns:
      the method for which the parameter source is defined.
    • getDomainTypeInformation

      TypeInformation<?> getDomainTypeInformation()
      Returns:
      the domain type associated with the parameter source.