public interface MethodCandidate
extends io.micronaut.core.order.Ordered
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_POSITION
The default position.
|
Modifier and Type | Method and Description |
---|---|
MethodMatchInfo |
buildMatchInfo(MethodMatchContext matchContext)
Builds the method info.
|
default int |
getOrder() |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Whether the given method name matches this finder.
|
static final int DEFAULT_POSITION
boolean isMethodMatch(@NonNull io.micronaut.inject.ast.MethodElement methodElement, @NonNull MatchContext matchContext)
methodElement
- The method element. Never null.matchContext
- The match context. Never null.default int getOrder()
getOrder
in interface io.micronaut.core.order.Ordered
@Nullable MethodMatchInfo buildMatchInfo(@NonNull MethodMatchContext matchContext)
isMethodMatch(MethodElement, MatchContext)
should be
invoked and checked prior to calling this method.matchContext
- The match contextMethodMatchContext