Package org.jboss.weld.resources
Class ClassTransformer
- java.lang.Object
-
- org.jboss.weld.resources.ClassTransformer
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.BootstrapService
,org.jboss.weld.bootstrap.api.Service
public class ClassTransformer extends Object implements org.jboss.weld.bootstrap.api.BootstrapService
- Author:
- Pete Muir, Stuart Douglas, JBoss Weld Community, Ales Justin
-
-
Constructor Summary
Constructors Constructor Description ClassTransformer(TypeStore typeStore, SharedObjectCache cache, ReflectionCache reflectionCache, String contextId)
-
Method Summary
-
-
-
Constructor Detail
-
ClassTransformer
public ClassTransformer(TypeStore typeStore, SharedObjectCache cache, ReflectionCache reflectionCache, String contextId)
-
-
Method Detail
-
instance
public static ClassTransformer instance(BeanManagerImpl manager)
-
getBackedAnnotatedType
public <T> BackedAnnotatedType<T> getBackedAnnotatedType(Class<T> rawType, Type baseType, String bdaId, String suffix)
-
getBackedAnnotatedType
public <T> BackedAnnotatedType<T> getBackedAnnotatedType(Class<T> rawType, String bdaId)
-
getBackedAnnotatedType
public <T> BackedAnnotatedType<T> getBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix)
-
getSlimAnnotatedTypeById
public <T> SlimAnnotatedType<T> getSlimAnnotatedTypeById(AnnotatedTypeIdentifier id)
-
getUnbackedAnnotatedType
public <T> UnbackedAnnotatedType<T> getUnbackedAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType<T> source, String bdaId, String suffix)
-
getUnbackedAnnotatedType
public <T> UnbackedAnnotatedType<T> getUnbackedAnnotatedType(SlimAnnotatedType<T> originalType, jakarta.enterprise.inject.spi.AnnotatedType<T> source)
-
getSyntheticAnnotationAnnotatedType
public UnbackedAnnotatedType<? extends Annotation> getSyntheticAnnotationAnnotatedType(Class<? extends Annotation> annotationType)
-
getEnhancedAnnotatedType
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(Class<T> rawType, String bdaId)
-
getEnhancedAnnotatedType
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(Class<T> rawType, Type baseType, String bdaId)
-
getEnhancedAnnotatedType
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, String bdaId)
-
getEnhancedAnnotatedType
public <T> EnhancedAnnotatedType<T> getEnhancedAnnotatedType(SlimAnnotatedType<T> annotatedType)
-
getEnhancedAnnotation
public <T extends Annotation> EnhancedAnnotation<T> getEnhancedAnnotation(Class<T> clazz)
-
clearAnnotationData
public void clearAnnotationData(Class<? extends Annotation> annotationClass)
-
getTypeStore
public TypeStore getTypeStore()
-
getSharedObjectCache
public SharedObjectCache getSharedObjectCache()
-
getReflectionCache
public ReflectionCache getReflectionCache()
-
addSyntheticAnnotation
public void addSyntheticAnnotation(jakarta.enterprise.inject.spi.AnnotatedType<? extends Annotation> annotation, String bdaId)
- Parameters:
annotation
-
-
disposeBackedAnnotatedType
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix)
-
cleanupAfterBoot
public void cleanupAfterBoot()
- Specified by:
cleanupAfterBoot
in interfaceorg.jboss.weld.bootstrap.api.BootstrapService
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceorg.jboss.weld.bootstrap.api.Service
-
removeAll
public void removeAll(Set<jakarta.enterprise.inject.spi.Bean<?>> removable)
-
-