public class FindByFinder extends DynamicFinder
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
PREFIXES
The prefixes used.
|
OPERATOR_AND, OPERATOR_OR, OPERATORS
pattern
DEFAULT_POSITION
Constructor and Description |
---|
FindByFinder()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isCompatibleReturnType(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Is the return type compatible.
|
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Checks whether the given method is a match.
|
buildMatchInfo
applyForUpdate, applyJoinSpecs, applyOrderBy, buildInfo, getInterceptorElement, getInterceptorElement, getOperationType, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public boolean isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement, MatchContext matchContext)
DynamicFinder
isMethodMatch
in interface MethodCandidate
isMethodMatch
in class DynamicFinder
methodElement
- The method elementmatchContext
- The match context. Never null.protected boolean isCompatibleReturnType(@NonNull io.micronaut.inject.ast.MethodElement methodElement, @NonNull MatchContext matchContext)
methodElement
- The method elementmatchContext
- The match context