Class AbstractSpecificationMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
- All Implemented Interfaces:
- io.micronaut.core.order.Ordered,- MethodMatcher
- Direct Known Subclasses:
- CountSpecificationMethodMatcher,- DeleteAllSpecificationMethodMatcher,- DeleteSpecificationMethodMatcher,- ExistsSpecificationMethodMatcher,- FindAllSpecificationMethodMatcher,- FindOneSpecificationMethodMatcher,- FindPageSpecificationMethodMatcher,- UpdateAllSpecificationMethodMatcher
Abstract superclass for specification methods.
- Since:
- 3.1
- Author:
- Denis Stepanov
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcherMethodMatcher.MethodMatch
- 
Field SummaryFields inherited from class io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcherpatternFields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcherDEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractSpecificationMethodMatcher(String... prefixes) Default constructor.
- 
Method SummaryModifier and TypeMethodDescriptionprotected final io.micronaut.inject.ast.ClassElementgetInterceptorElement(MethodMatchContext matchContext, String interceptorType) intgetOrder()protected final booleanisFirstParameterMicronautDataDeleteSpecification(@NonNull io.micronaut.inject.ast.MethodElement methodElement) protected final booleanisFirstParameterMicronautDataQuerySpecification(@NonNull io.micronaut.inject.ast.MethodElement methodElement) protected final booleanisFirstParameterMicronautDataUpdateSpecification(@NonNull io.micronaut.inject.ast.MethodElement methodElement) protected final booleanisFirstParameterMicronautJpaSpecification(@NonNull io.micronaut.inject.ast.MethodElement methodElement) protected final booleanisFirstParameterSpringJpaSpecification(@NonNull io.micronaut.inject.ast.MethodElement methodElement) protected booleanisMatchesParameters(MethodMatchContext matchContext) Is matches parameters.match(MethodMatchContext matchContext) Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatchermatch
- 
Constructor Details- 
AbstractSpecificationMethodMatcherDefault constructor.- Parameters:
- prefixes- The method prefixes to match
 
 
- 
- 
Method Details- 
getOrderpublic int getOrder()
- 
match- Specified by:
- matchin interface- MethodMatcher
- Overrides:
- matchin class- AbstractPrefixPatternMethodMatcher
 
- 
getInterceptorElementprotected final io.micronaut.inject.ast.ClassElement getInterceptorElement(MethodMatchContext matchContext, String interceptorType) - Parameters:
- matchContext- The match context
- interceptorType- The interceptor type
- Returns:
- The resolved class element
 
- 
isMatchesParametersIs matches parameters.- Parameters:
- matchContext- The context
- Returns:
- true if matches
 
- 
isFirstParameterSpringJpaSpecificationprotected final boolean isFirstParameterSpringJpaSpecification(@NonNull @NonNull io.micronaut.inject.ast.MethodElement methodElement) 
- 
isFirstParameterMicronautJpaSpecificationprotected final boolean isFirstParameterMicronautJpaSpecification(@NonNull @NonNull io.micronaut.inject.ast.MethodElement methodElement) 
- 
isFirstParameterMicronautDataQuerySpecificationprotected final boolean isFirstParameterMicronautDataQuerySpecification(@NonNull @NonNull io.micronaut.inject.ast.MethodElement methodElement) 
- 
isFirstParameterMicronautDataDeleteSpecificationprotected final boolean isFirstParameterMicronautDataDeleteSpecification(@NonNull @NonNull io.micronaut.inject.ast.MethodElement methodElement) 
- 
isFirstParameterMicronautDataUpdateSpecificationprotected final boolean isFirstParameterMicronautDataUpdateSpecification(@NonNull @NonNull io.micronaut.inject.ast.MethodElement methodElement) 
 
-