T
- The bean type@Internal public interface ExecutableMethodsDefinition<T>
ExecutableMethod
.Modifier and Type | Method and Description |
---|---|
<R> Optional<ExecutableMethod<T,R>> |
findMethod(String name,
Class<?>... argumentTypes)
Finds a single
ExecutableMethod for the given name and argument types. |
<R> Stream<ExecutableMethod<T,R>> |
findPossibleMethods(String name)
Finds possible methods for the given method name.
|
Collection<ExecutableMethod<T,?>> |
getExecutableMethods() |
@NonNull <R> Optional<ExecutableMethod<T,R>> findMethod(@NonNull String name, @NonNull Class<?>... argumentTypes)
ExecutableMethod
for the given name and argument types.R
- The return typename
- The method nameargumentTypes
- The argument typesExecutableMethod
@NonNull <R> Stream<ExecutableMethod<T,R>> findPossibleMethods(@NonNull String name)
R
- The return typename
- The method name@NonNull Collection<ExecutableMethod<T,?>> getExecutableMethods()
ExecutableMethod
instances for this definition