Class AbstractPatternMethodMatcher

java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPatternMethodMatcher
All Implemented Interfaces:
io.micronaut.core.order.Ordered, MethodMatcher
Direct Known Subclasses:
CountMethodMatcher, DeleteMethodMatcher, ExistsMethodMatcher, FindMethodMatcher, ListMethodMatcher, UpdateMethodMatcher

public abstract class AbstractPatternMethodMatcher extends Object implements MethodMatcher
Abstract pattern method match that support two variations of method names. - With `by` syntax - projection followed by predicates - Without `by` syntax - predicates only
Since:
3.2
Author:
Denis Stepanov
  • Field Details

    • patternWithBySyntax

      protected final Pattern patternWithBySyntax
    • patternWithoutBySyntax

      protected final Pattern patternWithoutBySyntax
  • Constructor Details

    • AbstractPatternMethodMatcher

      protected AbstractPatternMethodMatcher(boolean supportsProjections, @NonNull @NonNull String... prefixes)
      Default constructor.
      Parameters:
      supportsProjections - true of matcher supports projections
      prefixes - The prefixes
  • Method Details