Package org.apache.camel.util
Interface ReflectionHelper.ClassCallback
-
- Enclosing class:
- ReflectionHelper
- 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 ReflectionHelper.ClassCallback
Action to take on each class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoWith(Class clazz)Perform an operation using the given class.
-
-
-
Method Detail
-
doWith
void doWith(Class clazz) throws IllegalArgumentException, IllegalAccessException
Perform an operation using the given class.- Parameters:
clazz- the class to operate on- Throws:
IllegalArgumentExceptionIllegalAccessException
-
-