Class AbstractEnhancedAnnotatedMember<T,X,S extends Member>
java.lang.Object
org.jboss.weld.annotated.enhanced.jlr.AbstractEnhancedAnnotated<T,S>
org.jboss.weld.annotated.enhanced.jlr.AbstractEnhancedAnnotatedMember<T,X,S>
- Type Parameters:
T-S-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated,jakarta.enterprise.inject.spi.AnnotatedMember<X>,EnhancedAnnotated<T,,S> EnhancedAnnotatedMember<T,X, S>
- Direct Known Subclasses:
AbstractEnhancedAnnotatedCallable,EnhancedAnnotatedFieldImpl
public abstract class AbstractEnhancedAnnotatedMember<T,X,S extends Member>
extends AbstractEnhancedAnnotated<T,S>
implements EnhancedAnnotatedMember<T,X,S>
Represents an abstract annotated member (field, method or constructor)
This class is immutable, and therefore threadsafe
- Author:
- Pete Muir
-
Field Summary
Fields inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEnhancedAnnotatedMember(jakarta.enterprise.inject.spi.AnnotatedMember<X> annotatedMember, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer, EnhancedAnnotatedType<X> declaringType) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGets an abstraction of the declaring classgetName()Gets the name of the memberbooleanisFinal()Indicates if the member if finalbooleanbooleanbooleanisPublic()Indicates if this annotated item is publicbooleanisStatic()Indicates if the member is staticbooleantoString()Gets a string representation of the memberMethods inherited from class org.jboss.weld.annotated.enhanced.jlr.AbstractEnhancedAnnotated
addMetaAnnotations, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getDelegate, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive, processMetaAnnotations, processMetaAnnotations, processMetaAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentMethods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, isGeneric, isParameterizedType, isPrimitiveMethods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotatedMember
slim
-
Constructor Details
-
AbstractEnhancedAnnotatedMember
protected AbstractEnhancedAnnotatedMember(jakarta.enterprise.inject.spi.AnnotatedMember<X> annotatedMember, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer, EnhancedAnnotatedType<X> declaringType) Constructor- Parameters:
annotationMap- The annotation map
-
-
Method Details
-
isStatic
public boolean isStatic()Indicates if the member is static- Specified by:
isStaticin interfacejakarta.enterprise.inject.spi.AnnotatedMember<T>- Specified by:
isStaticin interfaceEnhancedAnnotated<T,X> - Returns:
- True if static, false otherwise
- See Also:
-
isFinal
public boolean isFinal()Indicates if the member if final- Specified by:
isFinalin interfaceEnhancedAnnotated<T,X> - Returns:
- True if final, false otherwise
- See Also:
-
isTransient
public boolean isTransient() -
isPublic
public boolean isPublic()Description copied from interface:EnhancedAnnotatedIndicates if this annotated item is public- Specified by:
isPublicin interfaceEnhancedAnnotated<T,X> - Returns:
- if public, returns true
-
isPrivate
public boolean isPrivate()- Specified by:
isPrivatein interfaceEnhancedAnnotated<T,X>
-
isPackagePrivate
public boolean isPackagePrivate()- Specified by:
isPackagePrivatein interfaceEnhancedAnnotated<T,X>
-
getPackage
- Specified by:
getPackagein interfaceEnhancedAnnotated<T,X>
-
getName
Gets the name of the member- Specified by:
getNamein interfaceEnhancedAnnotated<T,X> - Returns:
- The name
- See Also:
-
toString
Gets a string representation of the member -
getJavaMember
- Specified by:
getJavaMemberin interfacejakarta.enterprise.inject.spi.AnnotatedMember<T>
-
getDeclaringType
Description copied from interface:EnhancedAnnotatedMemberGets an abstraction of the declaring class- Specified by:
getDeclaringTypein interfacejakarta.enterprise.inject.spi.AnnotatedMember<T>- Specified by:
getDeclaringTypein interfaceEnhancedAnnotatedMember<T,X, S extends Member> - Returns:
- The declaring class
-