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

java.lang.Object
  extended by com.caucho.config.reflect.AnnotatedElementImpl
      extended by com.caucho.config.reflect.AnnotatedConstructorImpl<T>
All Implemented Interfaces:
BaseTypeAnnotated, Annotated, AnnotatedCallable<T>, AnnotatedConstructor<T>, AnnotatedMember<T>

@Module
public class AnnotatedConstructorImpl<T>
extends AnnotatedElementImpl
implements AnnotatedConstructor<T>

Abstract introspected view of a Bean


Constructor Summary
AnnotatedConstructorImpl(AnnotatedType<T> declaringType, java.lang.reflect.Constructor<T> ctor)
           
 
Method Summary
 AnnotatedType<T> getDeclaringType()
          Returns the declaring type
 java.lang.reflect.Constructor<T> getJavaMember()
          Returns the reflected Constructor
 java.util.List<AnnotatedParameter<T>> getParameters()
          Returns the constructor parameters
 boolean isStatic()
          Returns true for a static field/method
 java.lang.String toString()
           
 
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, getBaseTypeParamMap, getTypeClosure, getTypeVariables, isAnnotationPresent, removeAnnotation
 
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

AnnotatedConstructorImpl

public AnnotatedConstructorImpl(AnnotatedType<T> declaringType,
                                java.lang.reflect.Constructor<T> ctor)
Method Detail

getDeclaringType

public AnnotatedType<T> getDeclaringType()
Description copied from interface: AnnotatedMember
Returns the declaring type

Specified by:
getDeclaringType in interface AnnotatedMember<T>

getJavaMember

public java.lang.reflect.Constructor<T> getJavaMember()
Returns the reflected Constructor

Specified by:
getJavaMember in interface AnnotatedConstructor<T>
Specified by:
getJavaMember in interface AnnotatedMember<T>

getParameters

public java.util.List<AnnotatedParameter<T>> getParameters()
Returns the constructor parameters

Specified by:
getParameters in interface AnnotatedCallable<T>

isStatic

public boolean isStatic()
Description copied from interface: AnnotatedMember
Returns true for a static field/method

Specified by:
isStatic in interface AnnotatedMember<T>

toString

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