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 io.micronaut.data.processor.visitors.finders.MethodMatcher
MethodMatcher.MethodMatch
-
Field Summary
Fields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
DEFAULT_POSITION
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPrefixPatternMethodMatcher
(@NonNull List<String> prefixes) -
Method Summary
Modifier and TypeMethodDescriptionmatch
(MethodMatchContext matchContext) protected abstract MethodMatcher.MethodMatch
match
(MethodMatchContext matchContext, Matcher matcher) Handle the match.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
getOrder
-
Field Details
-
pattern
-
-
Constructor Details
-
AbstractPrefixPatternMethodMatcher
-
-
Method Details
-
match
- Specified by:
match
in interfaceMethodMatcher
-
match
protected abstract MethodMatcher.MethodMatch match(MethodMatchContext matchContext, Matcher matcher) Handle the match.- Parameters:
matchContext
- The match contextmatcher
- The matcher- Returns:
- The method matcher
-