public class SaveEntityMethod extends AbstractPatternBasedMethod implements MethodCandidate
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
METHOD_PATTERN |
pattern
DEFAULT_POSITION
Constructor and Description |
---|
SaveEntityMethod()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
MethodMatchInfo |
buildMatchInfo(MethodMatchContext matchContext)
Builds the method info.
|
protected MethodMatchInfo.OperationType |
getOperationType() |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Whether the given method name matches this finder.
|
applyForUpdate, applyJoinSpecs, applyOrderBy, buildInfo, buildRawQuery, getInterceptorElement, getInterceptorElement, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
@NonNull protected MethodMatchInfo.OperationType getOperationType()
getOperationType
in class AbstractPatternBasedMethod
public boolean isMethodMatch(@NonNull io.micronaut.inject.ast.MethodElement methodElement, MatchContext matchContext)
MethodCandidate
isMethodMatch
in interface MethodCandidate
isMethodMatch
in class AbstractPatternBasedMethod
methodElement
- The method element. Never null.matchContext
- The match context. Never null.@Nullable public MethodMatchInfo buildMatchInfo(@NonNull MethodMatchContext matchContext)
MethodCandidate
MethodCandidate.isMethodMatch(MethodElement, MatchContext)
should be
invoked and checked prior to calling this method.buildMatchInfo
in interface MethodCandidate
matchContext
- The match contextMethodMatchContext