Interface ExecutableMethodsDefinition<T>

    • Method Detail

      • findMethod

        @NonNull
        <R> java.util.Optional<ExecutableMethod<T,​R>> findMethod​(@NonNull
                                                                       java.lang.String name,
                                                                       @NonNull
                                                                       java.lang.Class<?>... argumentTypes)
        Finds a single ExecutableMethod for the given name and argument types.
        Type Parameters:
        R - The return type
        Parameters:
        name - The method name
        argumentTypes - The argument types
        Returns:
        An optional ExecutableMethod
      • findPossibleMethods

        @NonNull
        <R> java.util.stream.Stream<ExecutableMethod<T,​R>> findPossibleMethods​(@NonNull
                                                                                     java.lang.String name)
        Finds possible methods for the given method name.
        Type Parameters:
        R - The return type
        Parameters:
        name - The method name
        Returns:
        The possible methods