public class XConstructor extends XMember<Constructor<?>> implements ParameterizedAnnotatedElement
| Modifier and Type | Field and Description |
|---|---|
static XConstructor[] |
EMPTY_ARRAY
Empty array of constructors.
|
| Constructor and Description |
|---|
XConstructor(Constructor<?> constructor,
XAnnotation[] xannotations,
XParameter[] parameters)
Constructs an annotated constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Constructor<?> |
getConstructor()
Returns the target constructor.
|
Annotation[][] |
getParameterAnnotations()
Returns an array of arrays that represent the annotations on the formal
parameters, in declaration order, of the method represented by this
parameterized annotated element.
|
XParameter[] |
getParameters()
Returns annotated parameters of the method.
|
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresentgetAnnotations, getXAnnotations, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresentpublic static final XConstructor[] EMPTY_ARRAY
public XConstructor(Constructor<?> constructor, XAnnotation[] xannotations, XParameter[] parameters)
constructor - target constructor.xannotations - constructor annotations.parameters - annotated constructor parameters.public XParameter[] getParameters()
public Constructor<?> getConstructor()
public Annotation[][] getParameterAnnotations()
ParameterizedAnnotatedElementgetParameterAnnotations in interface ParameterizedAnnotatedElementCopyright © 2006-2013 Highsource. All Rights Reserved.