com.caucho.config.reflect
Class ReflectionAnnotatedType<T>

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

public class ReflectionAnnotatedType<T>
extends ReflectionAnnotated
implements AnnotatedType<T>

Read-only introspected annotated type.


Method Summary
 AnnotatedMethod<? super T> createMethod(java.lang.reflect.Method method)
          Returns the matching method, creating one if necessary.
 java.util.HashMap<java.lang.String,BaseType> getBaseTypeParamMap()
           
 java.util.Set<AnnotatedConstructor<T>> getConstructors()
          Returns the abstract introspected constructors
 java.util.Set<AnnotatedField<? super T>> getFields()
          Returns the abstract introspected fields
 java.lang.Class<T> getJavaClass()
          Returns the concrete Java class
 java.util.Set<AnnotatedMethod<? super T>> getMethods()
          Returns the abstract introspected methods
 ReflectionAnnotatedType<?> getParentType()
           
 
Methods inherited from class com.caucho.config.reflect.ReflectionAnnotated
addAnnotation, fillTypeVariables, getAnnotation, getAnnotations, getBaseType, getBaseTypeImpl, getTypeClosure, getTypeVariables, isAnnotationPresent, toString
 
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
 

Method Detail

getJavaClass

public java.lang.Class<T> getJavaClass()
Returns the concrete Java class

Specified by:
getJavaClass in interface AnnotatedType<T>

getParentType

public ReflectionAnnotatedType<?> getParentType()

getBaseTypeParamMap

public java.util.HashMap<java.lang.String,BaseType> getBaseTypeParamMap()
Specified by:
getBaseTypeParamMap in interface BaseTypeAnnotated
Overrides:
getBaseTypeParamMap in class ReflectionAnnotated

getConstructors

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

Specified by:
getConstructors in interface AnnotatedType<T>

getMethods

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

Specified by:
getMethods in interface AnnotatedType<T>

createMethod

public AnnotatedMethod<? super T> createMethod(java.lang.reflect.Method method)
Returns the matching method, creating one if necessary.


getFields

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

Specified by:
getFields in interface AnnotatedType<T>