Package org.jboss.weld.util.annotated
Class ForwardingAnnotatedType<X>
- java.lang.Object
-
- org.jboss.weld.util.annotated.ForwardingAnnotated
-
- org.jboss.weld.util.annotated.ForwardingAnnotatedType<X>
-
- All Implemented Interfaces:
Annotated,AnnotatedType<X>
- Direct Known Subclasses:
AnnotatedTypeWrapper,VetoedSuppressedAnnotatedType
public abstract class ForwardingAnnotatedType<X> extends ForwardingAnnotated implements AnnotatedType<X>
Forwarding implementation of AnnotatedType- Author:
- Stuart Douglas
, Ales Justin
-
-
Constructor Summary
Constructors Constructor Description ForwardingAnnotatedType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AnnotatedType<X>delegate()Set<AnnotatedConstructor<X>>getConstructors()Get the constructors of the type.Set<AnnotatedField<? super X>>getFields()Get the fields of the type.Class<X>getJavaClass()Get the underlyingClass.Set<AnnotatedMethod<? super X>>getMethods()Get the methods of the type.-
Methods inherited from class org.jboss.weld.util.annotated.ForwardingAnnotated
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
-
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedType
getAnnotations
-
-
-
-
Method Detail
-
delegate
public abstract AnnotatedType<X> delegate()
- Specified by:
delegatein classForwardingAnnotated
-
getConstructors
public Set<AnnotatedConstructor<X>> getConstructors()
Description copied from interface:AnnotatedTypeGet the constructors of the type. If an empty set is returned, a default constructor with no parameters will be assumed.
- Specified by:
getConstructorsin interfaceAnnotatedType<X>- Returns:
- the constructors, or an empty set if none are defined
-
getFields
public Set<AnnotatedField<? super X>> getFields()
Description copied from interface:AnnotatedTypeGet the fields of the type.
- Specified by:
getFieldsin interfaceAnnotatedType<X>- Returns:
- the fields, or an empty set if none are defined
-
getJavaClass
public Class<X> getJavaClass()
Description copied from interface:AnnotatedTypeGet the underlying
Class.- Specified by:
getJavaClassin interfaceAnnotatedType<X>- Returns:
- the
Class
-
getMethods
public Set<AnnotatedMethod<? super X>> getMethods()
Description copied from interface:AnnotatedTypeGet the methods of the type.
- Specified by:
getMethodsin interfaceAnnotatedType<X>- Returns:
- the methods, or an empty set if none are defined
-
-