Package org.seppiko.commons.utils
Interface ReflectionUtil.MethodFilter
- 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.MethodFilter
doMethod filter
-
Method Summary
Modifier and Type Method Description default ReflectionUtil.MethodFilterand(ReflectionUtil.MethodFilter next)Create a composite filter based on this filter and the provided filter.booleanmatches(java.lang.reflect.Method method)Determine whether the given method matches.
-
Method Details
-
matches
boolean matches(java.lang.reflect.Method method)Determine whether the given method matches.- Parameters:
method- the method to check
-
and
Create a composite filter based on this filter and the provided filter.If this filter does not match, the next filter will not be applied.
- Parameters:
next- the nextMethodFilter- Returns:
- a composite
MethodFilter - Since:
- 5.3.2
-