Class MethodSelectors

java.lang.Object
org.mapstruct.ap.internal.model.source.selector.MethodSelectors

public class MethodSelectors extends Object
Applies all known MethodSelectors in order.
Author:
Sjaak Derksen
  • Constructor Details

  • Method Details

    • getMatchingMethods

      public <T extends Method> List<SelectedMethod<T>> getMatchingMethods(List<T> methods, SelectionContext context)
      Selects those methods which match the given types and other criteria
      Type Parameters:
      T - either SourceMethod or BuiltInMethod
      Parameters:
      methods - list of available methods
      context - the selection context that should be used in the matching process
      Returns:
      list of methods that passes the matching process