Package org.jboss.weld.util.annotated
Class ForwardingAnnotated
- java.lang.Object
-
- org.jboss.weld.util.annotated.ForwardingAnnotated
-
- Type Parameters:
T
- the base typeS
- the annotated element type
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated
- Direct Known Subclasses:
ForwardingAnnotatedMember
,ForwardingAnnotatedParameter
,ForwardingAnnotatedType
public abstract class ForwardingAnnotated extends Object implements jakarta.enterprise.inject.spi.Annotated
Base class to allow implementation of the decorator pattern- Author:
- Pete Muir
-
-
Constructor Summary
Constructors Constructor Description ForwardingAnnotated()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract jakarta.enterprise.inject.spi.Annotated
delegate()
boolean
equals(Object obj)
<A extends Annotation>
AgetAnnotation(Class<A> annotationType)
Set<Annotation>
getAnnotations()
Type
getBaseType()
Set<Type>
getTypeClosure()
int
hashCode()
boolean
isAnnotationPresent(Class<? extends Annotation> annotationType)
String
toString()
-
-
-
Method Detail
-
delegate
protected abstract jakarta.enterprise.inject.spi.Annotated delegate()
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
- Specified by:
getAnnotation
in interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
public Set<Annotation> getAnnotations()
- Specified by:
getAnnotations
in interfacejakarta.enterprise.inject.spi.Annotated
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent
in interfacejakarta.enterprise.inject.spi.Annotated
-
getBaseType
public Type getBaseType()
- Specified by:
getBaseType
in interfacejakarta.enterprise.inject.spi.Annotated
-
getTypeClosure
public Set<Type> getTypeClosure()
- Specified by:
getTypeClosure
in interfacejakarta.enterprise.inject.spi.Annotated
-
-