Package org.jboss.weld.metadata.cache
Class MergedStereotypes<T,E>
java.lang.Object
org.jboss.weld.metadata.cache.MergedStereotypes<T,E>
Meta model for the merged stereotype for a bean
- Author:
- Pete Muir
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMergedStereotypes(Set<Annotation> stereotypeAnnotations, BeanManagerImpl manager) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the possible scope typesSet<Class<? extends Annotation>>booleanbooleanIndicates if the name i defaultedprotected voidmerge(Set<Annotation> stereotypeAnnotations) Perform the mergestatic <T,E> MergedStereotypes<T, E> of(Set<Annotation> stereotypeAnnotations, BeanManagerImpl manager) static <T,E> MergedStereotypes<T, E> of(EnhancedAnnotated<T, E> annotated, BeanManagerImpl manager) toString()Gets a string representation of the merged stereotypes
-
Constructor Details
-
MergedStereotypes
Constructor- Parameters:
stereotypeAnnotations- The stereotypes to merge
-
-
Method Details
-
of
public static <T,E> MergedStereotypes<T,E> of(EnhancedAnnotated<T, E> annotated, BeanManagerImpl manager) -
of
public static <T,E> MergedStereotypes<T,E> of(Set<Annotation> stereotypeAnnotations, BeanManagerImpl manager) -
merge
Perform the merge- Parameters:
stereotypeAnnotations- The stereotype annotations
-
isAlternative
public boolean isAlternative() -
getPossibleScopes
Returns the possible scope types- Returns:
- The scope types
-
isBeanNameDefaulted
public boolean isBeanNameDefaulted()Indicates if the name i defaulted- Returns:
- True if defaulted, false if not
-
getStereotypes
- Returns:
- the stereotypes
-
toString
Gets a string representation of the merged stereotypes
-