public class BackedAnnotatedConstructor<X> extends BackedAnnotatedCallable<X,java.lang.reflect.Constructor<X>> implements AnnotatedConstructor<X>, java.io.Serializable
BackedAnnotatedMember.BackedAnnotatedMemberSerializationProxy<X,A extends AnnotatedMember<? super X>>| Constructor and Description |
|---|
BackedAnnotatedConstructor(java.lang.reflect.Constructor<X> constructor,
BackedAnnotatedType<X> declaringType,
SharedObjectCache sharedObjectCache) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Get program element annotation of a certain annotation type.
|
java.lang.reflect.Constructor<X> |
getJavaMember()
Get the underlying
Constructor. |
int |
hashCode() |
protected java.util.List<AnnotatedParameter<X>> |
initParameters(java.lang.reflect.Constructor<X> member,
SharedObjectCache sharedObjectCache) |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Determine if the program element has an annotation of a certain annotation type.
|
static <X> AnnotatedConstructor<X> |
of(java.lang.reflect.Constructor<X> constructor,
BackedAnnotatedType<X> declaringType,
SharedObjectCache sharedObjectCache) |
java.lang.String |
toString() |
getParametersgetDeclaringType, getReflectionCache, isStaticgetAnnotations, getTypeClosure, initTypeClosuregetBaseTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParametersgetDeclaringType, isStaticgetAnnotations, getBaseType, getTypeClosurepublic BackedAnnotatedConstructor(java.lang.reflect.Constructor<X> constructor, BackedAnnotatedType<X> declaringType, SharedObjectCache sharedObjectCache)
public static <X> AnnotatedConstructor<X> of(java.lang.reflect.Constructor<X> constructor, BackedAnnotatedType<X> declaringType, SharedObjectCache sharedObjectCache)
protected java.util.List<AnnotatedParameter<X>> initParameters(java.lang.reflect.Constructor<X> member, SharedObjectCache sharedObjectCache)
initParameters in class BackedAnnotatedCallable<X,java.lang.reflect.Constructor<X>>protected java.lang.reflect.AnnotatedElement getAnnotatedElement()
getAnnotatedElement in class BackedAnnotatedpublic java.lang.reflect.Constructor<X> getJavaMember()
AnnotatedConstructor
Get the underlying Constructor.
getJavaMember in interface AnnotatedConstructor<X>getJavaMember in interface AnnotatedMember<X>public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
AnnotatedGet program element annotation of a certain annotation type.
getAnnotation in interface AnnotatedT - the type of the annotationannotationType - the class of the annotation typepublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedDetermine if the program element has an annotation of a certain annotation type.
isAnnotationPresent in interface AnnotatedannotationType - the annotation type to check forpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015. All Rights Reserved.