Top Description Fields Constructors Methods
tools.jackson.databind.introspect

public abstract Class AnnotatedWithParams

extends AnnotatedMember
Class Inheritance
Known Direct Subclasses
tools.jackson.databind.introspect.AnnotatedConstructor, tools.jackson.databind.introspect.AnnotatedMethod
Imports
java.lang.reflect.Parameter, tools.jackson.databind.JavaType

Intermediate base class that encapsulates features that constructors and methods share.

Field Summary

Modifier and TypeField and Description
protected final AnnotationMap[]
_paramAnnotations

Annotations associated with parameters of the annotated entity (method or constructor parameters)

Inherited from tools.jackson.databind.introspect.AnnotatedMember:
_annotations_typeContext

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public abstract Object
call()

Method that can be used to (try to) call this object without arguments.

public abstract Object
call(Object[] args)

Method that can be used to (try to) call this object with specified arguments.

public abstract Object
call1(Object arg)

Method that can be used to (try to) call this object with single arguments.

public final int
public abstract Parameter[]
public final AnnotatedParameter
getParameter(int index)

public final AnnotationMap
public abstract int
public abstract JavaType
getParameterType(int index)

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

Inherited from tools.jackson.databind.introspect.AnnotatedMember:
_annotationMapannotationsfixAccessgetAnnotationgetDeclaringClassgetFullNamegetMembergetValuehasAnnotationhasOneOfsetValuewithAnnotations

Field Detail

_paramAnnotationsback to summary
protected final AnnotationMap[] _paramAnnotations

Annotations associated with parameters of the annotated entity (method or constructor parameters)

Constructor Detail

AnnotatedWithParamsback to summary
protected AnnotatedWithParams(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations)
AnnotatedWithParamsback to summary
protected AnnotatedWithParams(AnnotatedWithParams base, AnnotationMap[] paramAnnotations)

Method Detail

callback 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.

callback 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.

call1back 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.

getAnnotationCountback to summary
public final int getAnnotationCount()
getNativeParametersback to summary
public abstract Parameter[] getNativeParameters()
Since
3.0
getParameterback to summary
public final AnnotatedParameter getParameter(int index)
getParameterAnnotationsback to summary
public final AnnotationMap getParameterAnnotations(int index)
getParameterCountback to summary
public abstract int getParameterCount()
getParameterTypeback to summary
public abstract JavaType getParameterType(int index)
getRawParameterTypeback to summary
public abstract Class<?> getRawParameterType(int index)
replaceParameterAnnotationsback 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