| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotationMap[] | _paramAnnotations
Annotations associated with parameters of the annotated entity (method or constructor parameters) |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | AnnotatedWithParams(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final void | addOrOverrideParam(int paramIndex, Annotation a)
Method called to override a method parameter annotation, usually due to a mix-in annotation masking or overriding an annotation 'real' method has. |
| public abstract Object | |
| public abstract Object | |
| public abstract Object | |
| public final int | |
| public abstract Type | |
| public final AnnotatedParameter | |
| public final AnnotationMap | |
| public abstract int | |
| public abstract JavaType | |
| public abstract Class | |
| protected AnnotatedParameter | replaceParameterAnnotations(int index, AnnotationMap ann)
Method called by parameter object when an augmented instance is created; needs to replace parameter with new instance |
| _paramAnnotations | back to summary |
|---|---|
| protected final AnnotationMap[] _paramAnnotations Annotations associated with parameters of the annotated entity (method or constructor parameters) | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| AnnotatedWithParams | back to summary |
|---|---|
| protected AnnotatedWithParams(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations) | |
| AnnotatedWithParams | back to summary |
|---|---|
protected AnnotatedWithParams(AnnotatedWithParams base, AnnotationMap[] paramAnnotations)
| |
| addOrOverrideParam | back to summary |
|---|---|
| public final void addOrOverrideParam(int paramIndex, Annotation a) Method called to override a method parameter annotation, usually due to a mix-in annotation masking or overriding an annotation 'real' method has. | |
| call | back to summary |
|---|---|
| public abstract Object call() throws Exception Method that can be used to (try to) call this object without arguments. This may succeed or fail, depending on expected number of arguments: caller needs to take care to pass correct number. Exceptions are thrown directly from actual low-level call. Note only works for constructors and static methods. | |
| call | back to summary |
|---|---|
| public abstract Object call(Object[] args) throws Exception Method that can be used to (try to) call this object with specified arguments. This may succeed or fail, depending on expected number of arguments: caller needs to take care to pass correct number. Exceptions are thrown directly from actual low-level call. Note only works for constructors and static methods. | |
| call1 | back to summary |
|---|---|
| public abstract Object call1(Object arg) throws Exception Method that can be used to (try to) call this object with single arguments. This may succeed or fail, depending on expected number of arguments: caller needs to take care to pass correct number. Exceptions are thrown directly from actual low-level call. Note only works for constructors and static methods. | |
| getAnnotationCount | back to summary |
|---|---|
| public final int getAnnotationCount() | |
| getGenericParameterType | back to summary |
|---|---|
| public abstract Type getGenericParameterType(int index)
Deprecated Since 2.7, remove in 2.9
| |
| getParameter | back to summary |
|---|---|
| public final AnnotatedParameter getParameter(int index) | |
| getParameterAnnotations | back to summary |
|---|---|
| public final AnnotationMap getParameterAnnotations(int index) | |
| getParameterCount | back to summary |
|---|---|
| public abstract int getParameterCount() | |
| getParameterType | back to summary |
|---|---|
public abstract JavaType getParameterType(int index)
| |
| getRawParameterType | back to summary |
|---|---|
| public abstract Class | |
| replaceParameterAnnotations | back to summary |
|---|---|
| protected AnnotatedParameter replaceParameterAnnotations(int index, AnnotationMap ann) Method called by parameter object when an augmented instance is created; needs to replace parameter with new instance | |