public abstract class DynamicFinder extends AbstractPatternBasedMethod implements MethodCandidate
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATOR_AND |
static java.lang.String |
OPERATOR_OR |
static java.lang.String[] |
OPERATORS |
patternDEFAULT_POSITION| Modifier | Constructor and Description |
|---|---|
protected |
DynamicFinder(java.util.regex.Pattern pattern,
java.lang.String[] operators)
A custom finder and pattern.
|
protected |
DynamicFinder(java.lang.String... prefixes)
The prefixes to use.
|
| Modifier and Type | Method and Description |
|---|---|
MethodMatchInfo |
buildMatchInfo(MethodMatchContext matchContext)
Builds the method info.
|
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Checks whether the given method is a match.
|
applyForUpdate, applyJoinSpecs, applyOrderBy, buildInfo, getInterceptorElement, getInterceptorElement, getOperationType, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjectionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic static final java.lang.String OPERATOR_OR
public static final java.lang.String OPERATOR_AND
public static final java.lang.String[] OPERATORS
protected DynamicFinder(java.lang.String... prefixes)
prefixes - The prefixesprotected DynamicFinder(java.util.regex.Pattern pattern,
java.lang.String[] operators)
pattern - The pattern.operators - The operators to supportpublic boolean isMethodMatch(@NonNull
io.micronaut.inject.ast.MethodElement methodElement,
@NonNull
MatchContext matchContext)
isMethodMatch in interface MethodCandidateisMethodMatch in class AbstractPatternBasedMethodmethodElement - The method elementmatchContext - public MethodMatchInfo buildMatchInfo(@NonNull MethodMatchContext matchContext)
MethodCandidateMethodCandidate.isMethodMatch(MethodElement, MatchContext) should be
invoked and checked prior to calling this method.buildMatchInfo in interface MethodCandidatematchContext - The match contextMethodMatchContext