Class InterceptorBindingQualifier<T>

java.lang.Object
io.micronaut.inject.qualifiers.InterceptorBindingQualifier<T>
Type Parameters:
T - The bean type
All Implemented Interfaces:
Qualifier<T>

@Internal public final class InterceptorBindingQualifier<T> extends Object implements Qualifier<T>
Qualifier used to resolve the interceptor binding when injection method interceptors for AOP.
Since:
2.4.0
Author:
graemerocher
  • Field Details

  • Method Details

    • reduce

      public <BT extends BeanType<T>> Stream<BT> reduce(Class<T> beanType, Stream<BT> candidates)
      Specified by:
      reduce in interface Qualifier<T>
      Type Parameters:
      BT - The bean type subclass
      Parameters:
      beanType - The bean type
      candidates - The candidates
      Returns:
      The qualified candidate or null it it cannot be qualified
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object