ExecutableInvoker allows invoking methods and constructors
with support for dynamic resolution of parameters via
ParameterResolvers.
| Modifier and Type | Method and Description |
|---|---|
| public default @Nullable Object | |
| public @Nullable Object | |
| public default <T> T | invoke(Constructor<T>
the constructor to invoke and resolve parameters for constructor)Invoke the supplied top-level constructor with dynamic parameter resolution. |
| public <T> T | invoke(Constructor<T>
the constructor to invoke and resolve parameters for constructor, @Nullable Object the outer instance to supply as the first argument
to the constructor; must be outerInstance)null for top-level classes
or static nested classesInvoke the supplied constructor with the supplied outer instance and dynamic parameter resolution. |
| invoke | back to summary |
|---|---|
| public default @Nullable Object invoke(Method method) Invoke the supplied
| |
| invoke | back to summary |
|---|---|
| public @Nullable Object invoke(Method method, @Nullable Object target) Invoke the supplied method with dynamic parameter resolution. | |
| invoke | back to summary |
|---|---|
| public default <T> T invoke(Constructor<T> constructor) Invoke the supplied top-level constructor with dynamic parameter resolution.
| |
| invoke | back to summary |
|---|---|
| public <T> T invoke(Constructor<T> constructor, @Nullable Object outerInstance) Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution. Use this method when invoking the constructor for an inner class.
| |