Class MethodSelectors


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

      • getMatchingMethods

        public <T extends MethodList<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