Package io.quarkus.arc.processor
Class Beans
- java.lang.Object
-
- io.quarkus.arc.processor.Beans
-
public final class Beans extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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.
-
-