Package org.seppiko.commons.utils
Interface ReflectionUtil.MethodCallback
- Enclosing class:
- ReflectionUtil
- 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 ReflectionUtil.MethodCallback
doMethod callback
-
Method Summary
Modifier and Type Method Description voiddoWith(java.lang.reflect.Method method)Perform an operation using the given method.
-
Method Details
-
doWith
void doWith(java.lang.reflect.Method method) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessExceptionPerform an operation using the given method.- Parameters:
method- the method to operate on- Throws:
java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessException
-