public class BackedAnnotatedType<X> extends BackedAnnotated implements SlimAnnotatedType<X>, Serializable
SlimAnnotatedType.SerializationProxy<X>
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear up cached content to save memory.
|
boolean |
equals(Object obj) |
protected AnnotatedElement |
getAnnotatedElement() |
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Set<Annotation> |
getAnnotations() |
Set<javax.enterprise.inject.spi.AnnotatedConstructor<X>> |
getConstructors() |
Set<javax.enterprise.inject.spi.AnnotatedField<? super X>> |
getFields() |
AnnotatedTypeIdentifier |
getIdentifier() |
Class<X> |
getJavaClass() |
Set<javax.enterprise.inject.spi.AnnotatedMethod<? super X>> |
getMethods() |
ReflectionCache |
getReflectionCache() |
int |
hashCode() |
protected LazyValueHolder<Set<Type>> |
initTypeClosure(Type baseType,
SharedObjectCache cache) |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
static <X> BackedAnnotatedType<X> |
of(Class<X> javaClass,
SharedObjectCache sharedObjectCache,
ReflectionCache reflectionCache,
String contextId,
String bdaId) |
static <X> BackedAnnotatedType<X> |
of(Class<X> javaClass,
Type baseType,
SharedObjectCache sharedObjectCache,
ReflectionCache reflectionCache,
String contextId,
String bdaId) |
String |
toString() |
getTypeClosure
getBaseType
public static <X> BackedAnnotatedType<X> of(Class<X> javaClass, SharedObjectCache sharedObjectCache, ReflectionCache reflectionCache, String contextId, String bdaId)
public static <X> BackedAnnotatedType<X> of(Class<X> javaClass, Type baseType, SharedObjectCache sharedObjectCache, ReflectionCache reflectionCache, String contextId, String bdaId)
protected LazyValueHolder<Set<Type>> initTypeClosure(Type baseType, SharedObjectCache cache)
initTypeClosure
in class BackedAnnotated
protected AnnotatedElement getAnnotatedElement()
getAnnotatedElement
in class BackedAnnotated
public Class<X> getJavaClass()
getJavaClass
in interface javax.enterprise.inject.spi.AnnotatedType<X>
public Set<javax.enterprise.inject.spi.AnnotatedConstructor<X>> getConstructors()
getConstructors
in interface javax.enterprise.inject.spi.AnnotatedType<X>
public Set<javax.enterprise.inject.spi.AnnotatedMethod<? super X>> getMethods()
getMethods
in interface javax.enterprise.inject.spi.AnnotatedType<X>
public Set<javax.enterprise.inject.spi.AnnotatedField<? super X>> getFields()
getFields
in interface javax.enterprise.inject.spi.AnnotatedType<X>
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface javax.enterprise.inject.spi.Annotated
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface javax.enterprise.inject.spi.Annotated
public Set<Annotation> getAnnotations()
getAnnotations
in interface javax.enterprise.inject.spi.Annotated
getAnnotations
in class BackedAnnotated
public void clear()
SlimAnnotatedType
clear
in interface SlimAnnotatedType<X>
public ReflectionCache getReflectionCache()
getReflectionCache
in class BackedAnnotated
public AnnotatedTypeIdentifier getIdentifier()
getIdentifier
in interface Identified<AnnotatedTypeIdentifier>
Copyright © 2016. All rights reserved.