X
- class infopublic class AnnotatedConstructorImpl<X> extends Object implements javax.enterprise.inject.spi.AnnotatedConstructor<X>
AnnotatedConstructor
interface.Modifier and Type | Field and Description |
---|---|
protected Member |
javaMember
Member type
|
Constructor and Description |
---|
AnnotatedConstructorImpl(WebBeansContext webBeansContext,
Constructor<X> javaMember,
javax.enterprise.inject.spi.AnnotatedType<X> declaringType)
Create a ew instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAnnotation(Annotation annotation)
Adds new annotation to set.
|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Set<Annotation> |
getAnnotations() |
Type |
getBaseType() |
protected Class<?> |
getDeclaringClass() |
javax.enterprise.inject.spi.AnnotatedType<X> |
getDeclaringType() |
Constructor<X> |
getJavaMember() |
protected Class<?> |
getOwningClass() |
List<javax.enterprise.inject.spi.AnnotatedParameter<X>> |
getParameters() |
Set<Type> |
getTypeClosure() |
protected WebBeansContext |
getWebBeansContext() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
boolean |
isStatic() |
protected void |
setAnnotatedParameters(Type[] genericParameterTypes,
Annotation[][] parameterAnnotations) |
protected void |
setAnnotations(Annotation[] annotations)
Adds new annotation to set.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected final Member javaMember
public AnnotatedConstructorImpl(WebBeansContext webBeansContext, Constructor<X> javaMember, javax.enterprise.inject.spi.AnnotatedType<X> declaringType)
javaMember
- constructorpublic Constructor<X> getJavaMember()
public String toString()
protected void setAnnotatedParameters(Type[] genericParameterTypes, Annotation[][] parameterAnnotations)
public List<javax.enterprise.inject.spi.AnnotatedParameter<X>> getParameters()
getParameters
in interface javax.enterprise.inject.spi.AnnotatedCallable<X>
public javax.enterprise.inject.spi.AnnotatedType<X> getDeclaringType()
getDeclaringType
in interface javax.enterprise.inject.spi.AnnotatedMember<X>
public boolean isStatic()
isStatic
in interface javax.enterprise.inject.spi.AnnotatedMember<X>
protected Class<?> getOwningClass()
protected Class<?> getDeclaringClass()
protected void addAnnotation(Annotation annotation)
annotation
- new annotationprotected WebBeansContext getWebBeansContext()
protected void setAnnotations(Annotation[] annotations)
annotations
- new annotationspublic <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface javax.enterprise.inject.spi.Annotated
public Set<Annotation> getAnnotations()
getAnnotations
in interface javax.enterprise.inject.spi.Annotated
public Type getBaseType()
getBaseType
in interface javax.enterprise.inject.spi.Annotated
public Set<Type> getTypeClosure()
getTypeClosure
in interface javax.enterprise.inject.spi.Annotated
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface javax.enterprise.inject.spi.Annotated
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.