Package io.quarkus.arc.processor
Class Beans
java.lang.Object
io.quarkus.arc.processor.Beans
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmatches(BeanInfo bean, InjectionPointInfo.TypeAndQualifiers typeAndQualifiers) Checks if givenBeanInfohas type and qualifiers matching those in providedInjectionPointInfo.TypeAndQualifiers.static booleanmatches(BeanInfo bean, org.jboss.jandex.Type requiredType, Set<org.jboss.jandex.AnnotationInstance> requiredQualifiers) Checks if givenBeanInfohas all the required qualifiers and a bean type that matches required type.static List<StereotypeInfo>stereotypesWithTransitive(List<StereotypeInfo> stereotypes, Map<org.jboss.jandex.DotName, StereotypeInfo> allStereotypes)
-
Method Details
-
stereotypesWithTransitive
public static List<StereotypeInfo> stereotypesWithTransitive(List<StereotypeInfo> stereotypes, Map<org.jboss.jandex.DotName, StereotypeInfo> allStereotypes) -
matches
public static boolean matches(BeanInfo bean, InjectionPointInfo.TypeAndQualifiers typeAndQualifiers) Checks if givenBeanInfohas type and qualifiers matching those in providedInjectionPointInfo.TypeAndQualifiers. Uses standard bean assignability rules; seeBeanResolverImpl. -
matches
public static boolean matches(BeanInfo bean, org.jboss.jandex.Type requiredType, Set<org.jboss.jandex.AnnotationInstance> requiredQualifiers) Checks if givenBeanInfohas all the required qualifiers and a bean type that matches required type. Uses standard bean assignability rules; seeBeanResolverImpl.
-