Package yakworks.util
Interface ReflectionUtils.MethodFilter
-
- Enclosing class:
- ReflectionUtils
- 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 ReflectionUtils.MethodFilterCallback optionally used to filter methods to be operated on by a method callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReflectionUtils.MethodFilterand(ReflectionUtils.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 Detail
-
matches
boolean matches(java.lang.reflect.Method method)
Determine whether the given method matches.- Parameters:
method- the method to check
-
and
default ReflectionUtils.MethodFilter and(ReflectionUtils.MethodFilter next)
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 - Throws:
java.lang.IllegalArgumentException- if the MethodFilter argument isnull- Since:
- 5.3.2
-
-