org.jboss.weld.introspector
Class ForwardingAnnotated

java.lang.Object
  extended by org.jboss.weld.introspector.ForwardingAnnotated
Type Parameters:
T - the base type
S - the annotated element type
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated
Direct Known Subclasses:
ForwardingAnnotatedType, ForwardingWeldAnnotated

public abstract class ForwardingAnnotated
extends Object
implements javax.enterprise.inject.spi.Annotated

Base class to allow implementation of the decorator pattern

Author:
Pete Muir

Constructor Summary
ForwardingAnnotated()
           
 
Method Summary
protected abstract  javax.enterprise.inject.spi.Annotated delegate()
           
 boolean equals(Object obj)
           
<A extends Annotation>
A
getAnnotation(Class<A> annotationType)
           
 Set<Annotation> getAnnotations()
           
 Type getBaseType()
           
 Set<Type> getTypeClosure()
           
 int hashCode()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardingAnnotated

public ForwardingAnnotated()
Method Detail

delegate

protected abstract javax.enterprise.inject.spi.Annotated delegate()

getAnnotation

public <A extends Annotation> A getAnnotation(Class<A> annotationType)
Specified by:
getAnnotation in interface javax.enterprise.inject.spi.Annotated

getAnnotations

public Set<Annotation> getAnnotations()
Specified by:
getAnnotations in interface javax.enterprise.inject.spi.Annotated

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated

getBaseType

public Type getBaseType()
Specified by:
getBaseType in interface javax.enterprise.inject.spi.Annotated

getTypeClosure

public Set<Type> getTypeClosure()
Specified by:
getTypeClosure in interface javax.enterprise.inject.spi.Annotated

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Seam Framework. All Rights Reserved.