public abstract class AnnotatedWithParams extends AnnotatedMember
| Modifier and Type | Field and Description | 
|---|---|
| protected AnnotationMap[] | _paramAnnotationsAnnotations associated with parameters of the annotated
 entity (method or constructor parameters) | 
_annotations, _typeContext| Modifier | Constructor and Description | 
|---|---|
| protected  | AnnotatedWithParams(TypeResolutionContext ctxt,
                   AnnotationMap annotations,
                   AnnotationMap[] paramAnnotations) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| abstract Object | call()Method that can be used to (try to) call this object without arguments. | 
| abstract Object | call(Object[] args)Method that can be used to (try to) call this object with specified arguments. | 
| abstract Object | call1(Object arg)Method that can be used to (try to) call this object with single arguments. | 
| int | getAnnotationCount() | 
| Type | getGenericParameterType(int index)Deprecated. 
 Since 2.7, remove in 2.8 | 
| AnnotatedParameter | getParameter(int index) | 
| AnnotationMap | getParameterAnnotations(int index) | 
| abstract int | getParameterCount() | 
| abstract JavaType | getParameterType(int index) | 
| abstract Class<?> | getRawParameterType(int index) | 
| 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 | 
addIfNotPresent, addOrOverride, annotations, fixAccess, fixAccess, getAllAnnotations, getAnnotation, getDeclaringClass, getMember, getTypeContext, getValue, hasAnnotation, hasOneOf, setValueequals, getAnnotated, getGenericType, getModifiers, getName, getRawType, getType, getType, hashCode, isPublic, toString, withAnnotations, withFallBackAnnotationsFromprotected final AnnotationMap[] _paramAnnotations
protected AnnotatedWithParams(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations)
public final void addOrOverrideParam(int paramIndex,
                      Annotation a)
protected AnnotatedParameter replaceParameterAnnotations(int index, AnnotationMap ann)
public final AnnotationMap getParameterAnnotations(int index)
public final AnnotatedParameter getParameter(int index)
public abstract int getParameterCount()
public abstract Class<?> getRawParameterType(int index)
public abstract JavaType getParameterType(int index)
@Deprecated public final Type getGenericParameterType(int index)
public final int getAnnotationCount()
public abstract Object call() throws Exception
Note: only works for constructors and static methods.
Exceptionpublic abstract Object call(Object[] args) throws Exception
Note: only works for constructors and static methods.
Exceptionpublic abstract Object call1(Object arg) throws Exception
Note: only works for constructors and static methods.
ExceptionCopyright © 2008–2016 FasterXML. All rights reserved.