Class ExistsSpecificationMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
io.micronaut.data.processor.visitors.finders.spec.ExistsSpecificationMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,MethodMatcher
@Internal
public final class ExistsSpecificationMethodMatcher
extends AbstractSpecificationMethodMatcher
Exists specification method.
- Since:
- 3.8
- Author:
- Nick Hensel
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
MethodMatcher.MethodMatch -
Field Summary
Fields inherited from class io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
patternFields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
DEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisMatchesParameters(MethodMatchContext matchContext) Is matches parameters.protected MethodMatcher.MethodMatchmatch(MethodMatchContext matchContext, Matcher matcher) Handle the match.Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
getInterceptorElement, getOrder, isFirstParameterMicronautDataDeleteSpecification, isFirstParameterMicronautDataQuerySpecification, isFirstParameterMicronautDataUpdateSpecification, isFirstParameterMicronautJpaSpecification, isFirstParameterSpringJpaSpecification, match
-
Constructor Details
-
ExistsSpecificationMethodMatcher
public ExistsSpecificationMethodMatcher()
-
-
Method Details
-
match
Description copied from class:AbstractPrefixPatternMethodMatcherHandle the match.- Specified by:
matchin classAbstractPrefixPatternMethodMatcher- Parameters:
matchContext- The match contextmatcher- The matcher- Returns:
- The method matcher
-
isMatchesParameters
Description copied from class:AbstractSpecificationMethodMatcherIs matches parameters.- Overrides:
isMatchesParametersin classAbstractSpecificationMethodMatcher- Parameters:
matchContext- The context- Returns:
- true if matches
-