com.caucho.config.reflect
Class ReflectionSimpleAnnotatedType<X>

java.lang.Object
  extended by com.caucho.config.reflect.ReflectionAnnotated
      extended by com.caucho.config.reflect.ReflectionSimpleAnnotatedType<X>
All Implemented Interfaces:
BaseTypeAnnotated, Annotated, AnnotatedType<X>

public class ReflectionSimpleAnnotatedType<X>
extends ReflectionAnnotated
implements AnnotatedType<X>

Represents the reflected type where only the top-level annotations are introspected, i.e. the class itself, not the fields or methods.


Constructor Summary
ReflectionSimpleAnnotatedType(InjectManager manager, BaseType type)
           
 
Method Summary
 java.util.Set<AnnotatedConstructor<X>> getConstructors()
          Returns the abstract introspected constructors
 java.util.Set<AnnotatedField<? super X>> getFields()
          Returns the abstract introspected fields
 java.lang.Class<X> getJavaClass()
          Returns the concrete Java class
 java.util.Set<AnnotatedMethod<? super X>> getMethods()
          Returns the abstract introspected methods
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.reflect.ReflectionAnnotated
addAnnotation, fillTypeVariables, getAnnotation, getAnnotations, getBaseType, getBaseTypeImpl, getBaseTypeParamMap, getTypeClosure, getTypeVariables, isAnnotationPresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Constructor Detail

ReflectionSimpleAnnotatedType

public ReflectionSimpleAnnotatedType(InjectManager manager,
                                     BaseType type)
Method Detail

getJavaClass

public java.lang.Class<X> getJavaClass()
Description copied from interface: AnnotatedType
Returns the concrete Java class

Specified by:
getJavaClass in interface AnnotatedType<X>

getConstructors

public java.util.Set<AnnotatedConstructor<X>> getConstructors()
Returns the abstract introspected constructors

Specified by:
getConstructors in interface AnnotatedType<X>

getMethods

public java.util.Set<AnnotatedMethod<? super X>> getMethods()
Returns the abstract introspected methods

Specified by:
getMethods in interface AnnotatedType<X>

getFields

public java.util.Set<AnnotatedField<? super X>> getFields()
Returns the abstract introspected fields

Specified by:
getFields in interface AnnotatedType<X>

toString

public java.lang.String toString()
Overrides:
toString in class ReflectionAnnotated