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 -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract jakarta.enterprise.inject.spi.Annotateddelegate()boolean<A extends Annotation>
AgetAnnotation(Class<A> annotationType) inthashCode()booleanisAnnotationPresent(Class<? extends Annotation> annotationType) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.Annotated
getAnnotations
-
Constructor Details
-
ForwardingAnnotated
public ForwardingAnnotated()
-
-
Method Details
-
delegate
protected abstract jakarta.enterprise.inject.spi.Annotated delegate() -
getAnnotation
- Specified by:
getAnnotationin interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
- Specified by:
getAnnotationsin interfacejakarta.enterprise.inject.spi.Annotated
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfacejakarta.enterprise.inject.spi.Annotated
-
getBaseType
- Specified by:
getBaseTypein interfacejakarta.enterprise.inject.spi.Annotated
-
getTypeClosure
- Specified by:
getTypeClosurein interfacejakarta.enterprise.inject.spi.Annotated
-
equals
-
hashCode
public int hashCode() -
toString
-