public class MetaAnnotationStore extends Object implements org.jboss.weld.bootstrap.api.Service
Constructor and Description |
---|
MetaAnnotationStore(ClassTransformer classTransformer) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
clearAnnotationData(Class<? extends Annotation> annotationClass)
removes all data for an annotation class.
|
<T extends Annotation> |
getBindingTypeModel(Class<T> bindingType)
Gets a binding type model.
|
<T extends Annotation> |
getInterceptorBindingModel(Class<T> interceptorBinding) |
QualifierInstance |
getQualifierInstance(Annotation annotation) |
Set<QualifierInstance> |
getQualifierInstances(javax.enterprise.inject.spi.Bean<?> bean) |
Set<QualifierInstance> |
getQualifierInstances(Set<Annotation> annotations) |
<T extends Annotation> |
getScopeModel(Class<T> scope)
Gets a scope model
Adds the model if it is not present.
|
<T extends Annotation> |
getStereotype(Class<T> stereotype)
Gets a stereotype model
Adds the model if it is not present.
|
String |
toString()
Gets a string representation
|
public MetaAnnotationStore(ClassTransformer classTransformer)
public void clearAnnotationData(Class<? extends Annotation> annotationClass)
public <T extends Annotation> StereotypeModel<T> getStereotype(Class<T> stereotype)
T
- The typestereotype
- The stereotypepublic <T extends Annotation> ScopeModel<T> getScopeModel(Class<T> scope)
T
- The typescope
- The scope typepublic <T extends Annotation> QualifierModel<T> getBindingTypeModel(Class<T> bindingType)
T
- The typebindingType
- The binding typepublic <T extends Annotation> InterceptorBindingModel<T> getInterceptorBindingModel(Class<T> interceptorBinding)
interceptorBinding
- public QualifierInstance getQualifierInstance(Annotation annotation)
annotation
- public Set<QualifierInstance> getQualifierInstances(javax.enterprise.inject.spi.Bean<?> bean)
bean
- public Set<QualifierInstance> getQualifierInstances(Set<Annotation> annotations)
annotations
- public String toString()
public void cleanup()
cleanup
in interface org.jboss.weld.bootstrap.api.Service
Copyright © 2016. All rights reserved.