Class FindMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractMethodMatcher
io.micronaut.data.processor.visitors.finders.FindMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,MethodMatcher
Find method matcher.
- 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 class io.micronaut.data.processor.visitors.finders.AbstractMethodMatcher
ALL_OR_ONE, BY, DISTINCT, FIRST, FOR_UPDATE, ORDER_VARIATIONS, RETURNING, TOP_OR_FIRST
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
-
Method Summary
Modifier and TypeMethodDescriptionmatch
(MethodMatchContext matchContext, List<MethodNameParser.Match> matches) Matched the method.Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractMethodMatcher
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
-
Constructor Details
-
FindMethodMatcher
public FindMethodMatcher()
-
-
Method Details
-
match
public MethodMatcher.MethodMatch match(MethodMatchContext matchContext, List<MethodNameParser.Match> matches) Description copied from class:AbstractMethodMatcher
Matched the method.- Specified by:
match
in classAbstractMethodMatcher
- Parameters:
matchContext
- The match contextmatches
- The matches- Returns:
- The method match
-