Class AbstractPrefixPatternMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered, MethodMatcher
- Direct Known Subclasses:
AbstractSpecificationMethodMatcher
The matcher based on a simple patter.
- Since:
- 3.2
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface MethodMatcher
MethodMatcher.MethodMatch -
Field Summary
FieldsFields inherited from interface MethodMatcher
DEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPrefixPatternMethodMatcher(List<String> prefixes) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract @Nullable MethodMatcher.MethodMatchdoMatch(MethodMatchContext matchContext) Handle the match.@Nullable MethodMatcher.MethodMatchmatch(MethodMatchContext matchContext) protected booleanmatches(MethodMatchContext matchContext) Check if matches.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MethodMatcher
getOrder
-
Field Details
-
pattern
-
-
Constructor Details
-
AbstractPrefixPatternMethodMatcher
-
-
Method Details
-
match
- Specified by:
matchin interfaceMethodMatcher
-
matches
Check if matches.- Parameters:
matchContext- The context- Returns:
- true if matches
-
doMatch
Handle the match.- Parameters:
matchContext- The match context- Returns:
- The method matcher
-