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