Class MethodList.Explicit<S extends MethodDescription>

Type Parameters:
S - The type of method descriptions represented by this list.
All Implemented Interfaces:
Iterable<S>, Collection<S>, List<S>, MethodList<S>, FilterableList<S,MethodList<S>>
Enclosing interface:
MethodList<T extends MethodDescription>

public static class MethodList.Explicit<S extends MethodDescription> extends MethodList.AbstractBase<S>
A method list that is a wrapper for a given list of method descriptions.
  • Field Details

    • methodDescriptions

      private final List<? extends S extends MethodDescription> methodDescriptions
      The list of methods that is represented by this method list.
  • Constructor Details

    • Explicit

      public Explicit(S... methodDescription)
      Creates a new wrapper for a given list of methods.
      Parameters:
      methodDescription - The underlying list of methods used for this method list.
    • Explicit

      public Explicit(List<? extends S> methodDescriptions)
      Creates a new wrapper for a given list of methods.
      Parameters:
      methodDescriptions - The underlying list of methods used for this method list.
  • Method Details