Interface MethodAssignment<NextT>


public interface MethodAssignment<NextT>
Assigns the previous action to a particular Method.
  • Method Details

    • forMethod

      NextT forMethod(String name)
      Assigns to the Method by name.
      Parameters:
      name - the name of the Method
      Returns:
      the next element in the builder chain
    • forMethod

      NextT forMethod(String name, Class<?>... args)
      Assigns to the Method by name and parameters.
      Parameters:
      name - the name of the Method
      args - the arguments to match
      Returns:
      the next element in the builder chain
    • forMethod

      NextT forMethod(Method method)
      Assigns to the supplied Method by name and parameters.
      Returns:
      the next element in the builder chain