Interface MethodInvocation.Decomposer<T,R>
-
- Type Parameters:
T
- type of receiver expectedR
- type of result of decomposition.
- Enclosing class:
- MethodInvocation<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface MethodInvocation.Decomposer<T,R>
Interface that allows decomposition of the invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
decompose(Method method, T receiver, Object... arguments)
Decomposition method.
-
-
-
Method Detail
-
decompose
R decompose(Method method, @Nullable T receiver, Object... arguments)
Decomposition method.- Parameters:
method
- method that was calledreceiver
- receiver that the method was called on, or null if the method was staticarguments
- arguments passed to the method, in source (flat) representation- Returns:
- result of decomposition
-
-