Class AbstractPatternMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPatternMethodMatcher
- All Implemented Interfaces:
- io.micronaut.core.order.Ordered,- MethodMatcher
- Direct Known Subclasses:
- CountMethodMatcher,- DeleteMethodMatcher,- ExistsMethodMatcher,- FindMethodMatcher,- ListMethodMatcher,- UpdateMethodMatcher
Abstract pattern method match that support two variations of method names.
 - With `by` syntax - projection followed by predicates
 - Without `by` syntax - predicates only
- Since:
- 3.2
- Author:
- Denis Stepanov
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcherMethodMatcher.MethodMatch
- 
Field SummaryFieldsFields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcherDEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractPatternMethodMatcher(boolean supportsProjections, @NonNull String... prefixes) Default constructor.
- 
Method SummaryModifier and TypeMethodDescriptionmatch(MethodMatchContext matchContext) protected abstract MethodMatcher.MethodMatchmatch(MethodMatchContext matchContext, Matcher matcher) Handle match.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatchergetOrder
- 
Field Details- 
patternWithBySyntax
- 
patternWithoutBySyntax
 
- 
- 
Constructor Details- 
AbstractPatternMethodMatcherprotected AbstractPatternMethodMatcher(boolean supportsProjections, @NonNull @NonNull String... prefixes) Default constructor.- Parameters:
- supportsProjections- true of matcher supports projections
- prefixes- The prefixes
 
 
- 
- 
Method Details- 
match- Specified by:
- matchin interface- MethodMatcher
 
- 
matchprotected abstract MethodMatcher.MethodMatch match(MethodMatchContext matchContext, Matcher matcher) Handle match.- Parameters:
- matchContext- The match context
- matcher- The matcher
- Returns:
- The method match
 
 
-