Class BackedAnnotatedField<X>
- java.lang.Object
-
- org.jboss.weld.annotated.slim.BaseAnnotated
-
- org.jboss.weld.annotated.slim.backed.BackedAnnotated
-
- org.jboss.weld.annotated.slim.backed.BackedAnnotatedMember<X>
-
- org.jboss.weld.annotated.slim.backed.BackedAnnotatedField<X>
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated
,jakarta.enterprise.inject.spi.AnnotatedField<X>
,jakarta.enterprise.inject.spi.AnnotatedMember<X>
,Serializable
public class BackedAnnotatedField<X> extends BackedAnnotatedMember<X> implements jakarta.enterprise.inject.spi.AnnotatedField<X>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.annotated.slim.backed.BackedAnnotatedMember
BackedAnnotatedMember.BackedAnnotatedMemberSerializationProxy<X,A extends jakarta.enterprise.inject.spi.AnnotatedMember<? super X>>
-
-
Constructor Summary
Constructors Constructor Description BackedAnnotatedField(Type baseType, Field field, BackedAnnotatedType<X> declaringType, SharedObjectCache sharedObjectCache)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
protected AnnotatedElement
getAnnotatedElement()
<T extends Annotation>
TgetAnnotation(Class<T> annotationType)
Field
getJavaMember()
int
hashCode()
boolean
isAnnotationPresent(Class<? extends Annotation> annotationType)
static <X,Y extends X>
jakarta.enterprise.inject.spi.AnnotatedField<X>of(Field field, BackedAnnotatedType<Y> declaringType, SharedObjectCache sharedObjectCache)
String
toString()
-
Methods inherited from class org.jboss.weld.annotated.slim.backed.BackedAnnotatedMember
getDeclaringType, getReflectionCache, isStatic
-
Methods inherited from class org.jboss.weld.annotated.slim.backed.BackedAnnotated
getAnnotations, getTypeClosure, initTypeClosure
-
Methods inherited from class org.jboss.weld.annotated.slim.BaseAnnotated
getBaseType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
BackedAnnotatedField
public BackedAnnotatedField(Type baseType, Field field, BackedAnnotatedType<X> declaringType, SharedObjectCache sharedObjectCache)
-
-
Method Detail
-
of
public static <X,Y extends X> jakarta.enterprise.inject.spi.AnnotatedField<X> of(Field field, BackedAnnotatedType<Y> declaringType, SharedObjectCache sharedObjectCache)
-
getJavaMember
public Field getJavaMember()
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotatedElement
protected AnnotatedElement getAnnotatedElement()
- Specified by:
getAnnotatedElement
in classBackedAnnotated
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent
in interfacejakarta.enterprise.inject.spi.Annotated
-
-