Interface MethodCandidate

  • All Superinterfaces:
    io.micronaut.core.order.Ordered

    public interface MethodCandidate
    extends io.micronaut.core.order.Ordered
    Implementation of dynamic finders.
    Since:
    1.0
    Author:
    graeme rocher
    • Field Detail

      • DEFAULT_POSITION

        static final int DEFAULT_POSITION
        The default position.
        See Also:
        Constant Field Values
    • Method Detail

      • isMethodMatch

        boolean isMethodMatch​(@NonNull
                              io.micronaut.inject.ast.MethodElement methodElement,
                              @NonNull
                              MatchContext matchContext)
        Whether the given method name matches this finder.
        Parameters:
        methodElement - The method element. Never null.
        matchContext - The match context. Never null.
        Returns:
        true if it does
      • getOrder

        default int getOrder()
        Specified by:
        getOrder in interface io.micronaut.core.order.Ordered