| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fasterxml.jackson.databind.introspect.Annotated
com.fasterxml.jackson.databind.introspect.AnnotatedMember
com.fasterxml.jackson.databind.introspect.AnnotatedWithParams
public abstract class AnnotatedWithParams
Intermediate base class that encapsulates features that constructors and methods share.
| Field Summary | |
|---|---|
| protected  AnnotationMap[] | _paramAnnotationsAnnotations associated with parameters of the annotated entity (method or constructor parameters) | 
| Fields inherited from class com.fasterxml.jackson.databind.introspect.AnnotatedMember | 
|---|
| _annotations | 
| Constructor Summary | |
|---|---|
| protected  | AnnotatedWithParams(AnnotationMap annotations,
                    AnnotationMap[] paramAnnotations) | 
| Method Summary | ||
|---|---|---|
|  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. | |
| 
 | getAnnotation(Class<A> acls) | |
|  int | getAnnotationCount() | |
| abstract  Type | getGenericParameterType(int index) | |
|  AnnotatedParameter | getParameter(int index) | |
|  AnnotationMap | getParameterAnnotations(int index) | |
| abstract  int | getParameterCount() | |
| abstract  Class<?> | getRawParameterType(int index) | |
| protected  JavaType | getType(TypeBindings bindings,
        TypeVariable<?>[] typeParams) | |
| 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 | |
|  JavaType | resolveParameterType(int index,
                     TypeBindings bindings)Method called to fully resolve type of one of parameters, given specified type variable bindings. | |
| Methods inherited from class com.fasterxml.jackson.databind.introspect.AnnotatedMember | 
|---|
| addIfNotPresent, addOrOverride, fixAccess, getAllAnnotations, getDeclaringClass, getMember, getValue, setValue | 
| Methods inherited from class com.fasterxml.jackson.databind.introspect.Annotated | 
|---|
| getAnnotated, getGenericType, getModifiers, getName, getRawType, getType, hasAnnotation, isPublic, withAnnotations, withFallBackAnnotationsFrom | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected final AnnotationMap[] _paramAnnotations
| Constructor Detail | 
|---|
protected AnnotatedWithParams(AnnotationMap annotations,
                              AnnotationMap[] paramAnnotations)
| Method Detail | 
|---|
public final void addOrOverrideParam(int paramIndex,
                                     Annotation a)
protected AnnotatedParameter replaceParameterAnnotations(int index,
                                                         AnnotationMap ann)
protected JavaType getType(TypeBindings bindings,
                           TypeVariable<?>[] typeParams)
public final <A extends Annotation> A getAnnotation(Class<A> acls)
getAnnotation in class Annotatedpublic final AnnotationMap getParameterAnnotations(int index)
public final AnnotatedParameter getParameter(int index)
public abstract int getParameterCount()
public abstract Class<?> getRawParameterType(int index)
public abstract Type getGenericParameterType(int index)
public final JavaType resolveParameterType(int index,
                                           TypeBindings bindings)
public final int getAnnotationCount()
public abstract Object call()
                     throws Exception
Note: only works for constructors and static methods.
Exception
public abstract Object call(Object[] args)
                     throws Exception
Note: only works for constructors and static methods.
Exception
public abstract Object call1(Object arg)
                      throws Exception
Note: only works for constructors and static methods.
Exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||