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

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

public class AnnotatedTypeImpl<X>
extends AnnotatedElementImpl
implements AnnotatedType<X>

Abstract introspected view of a Bean


Constructor Summary
AnnotatedTypeImpl(AnnotatedType<X> annType)
           
 
Method Summary
static
<X> AnnotatedTypeImpl<X>
create(AnnotatedType<X> annType)
           
 AnnotatedMethod<? super X> 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<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
 
Methods inherited from class com.caucho.config.reflect.AnnotatedElementImpl
addAnnotation, addAnnotationIfAbsent, addAnnotations, addAnnotations, clearAnnotations, createBaseType, createBaseType, createBaseType, createBaseType, createBaseType, createBaseType, createBaseType, fillTypeVariables, getAnnotation, getAnnotations, getBaseType, getBaseTypeImpl, getTypeClosure, getTypeVariables, isAnnotationPresent, removeAnnotation, 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
 

Constructor Detail

AnnotatedTypeImpl

public AnnotatedTypeImpl(AnnotatedType<X> annType)
Method Detail

create

public static <X> AnnotatedTypeImpl<X> create(AnnotatedType<X> annType)

getJavaClass

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

Specified by:
getJavaClass in interface AnnotatedType<X>

getBaseTypeParamMap

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

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>

createMethod

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


getFields

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

Specified by:
getFields in interface AnnotatedType<X>