public class FindOneMethod extends AbstractListMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
PREFIXES
The prefixes used.
|
pattern
DEFAULT_POSITION
Constructor and Description |
---|
FindOneMethod()
Find one method.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Whether the given method name matches this finder.
|
buildMatchInfo
applyForUpdate, applyJoinSpecs, applyOrderBy, buildInfo, buildRawQuery, getInterceptorElement, getInterceptorElement, getOperationType, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorType
public int getOrder()
public boolean isMethodMatch(@NonNull io.micronaut.inject.ast.MethodElement methodElement, @NonNull MatchContext matchContext)
MethodCandidate
isMethodMatch
in interface MethodCandidate
isMethodMatch
in class AbstractPatternBasedMethod
methodElement
- The method element. Never null.matchContext
- The match context. Never null.