Interface Reflection.MethodInvoker
-
- Enclosing class:
- Reflection
- 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 Reflection.MethodInvoker
An interface for invoking a specific method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object target, java.lang.Object... arguments)
Invoke a method on a specific target object.
-
-
-
Method Detail
-
invoke
java.lang.Object invoke(java.lang.Object target, java.lang.Object... arguments)
Invoke a method on a specific target object.- Parameters:
target
- - the target object, or NULL for a static method.arguments
- - the arguments to pass to the method.- Returns:
- The return value, or NULL if is void.
-
-