public class FindSliceByMethod extends FindByFinder
Slice
.Modifier and Type | Field and Description |
---|---|
static int |
POSITION |
PREFIXES
OPERATOR_AND, OPERATOR_OR, OPERATORS
pattern
DEFAULT_POSITION
Constructor and Description |
---|
FindSliceByMethod() |
Modifier and Type | Method and Description |
---|---|
protected MethodMatchInfo |
buildInfo(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement queryResultType,
QueryModel query)
Build the
MethodMatchInfo . |
int |
getOrder() |
protected boolean |
isCompatibleReturnType(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Is the return type compatible.
|
isMethodMatch
buildMatchInfo, hasQueryAnnotation
applyJoinSpecs, applyOrderBy, buildRawQuery, getInterceptorElement, getInterceptorElement, getOperationType, matchOrder, matchProjections
public static final int POSITION
public int getOrder()
@Nullable protected MethodMatchInfo buildInfo(MethodMatchContext matchContext, @NonNull io.micronaut.inject.ast.ClassElement queryResultType, @Nullable QueryModel query)
AbstractPatternBasedMethod
MethodMatchInfo
.buildInfo
in class AbstractPatternBasedMethod
matchContext
- The match contextqueryResultType
- The query result typequery
- The queryprotected boolean isCompatibleReturnType(@NonNull io.micronaut.inject.ast.MethodElement methodElement, @NonNull MatchContext matchContext)
FindByFinder
isCompatibleReturnType
in class FindByFinder
methodElement
- The method elementmatchContext
- The match context