Class AnnotatedWithParams
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.Annotated
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.AnnotatedMember
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.AnnotatedWithParams
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AnnotatedConstructor
,AnnotatedMethod
Intermediate base class that encapsulates features that
constructors and methods share.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnnotationMap[]
Annotations associated with parameters of the annotated entity (method or constructor parameters)Fields inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.AnnotatedMember
_annotations, _typeContext
-
Constructor Summary
ModifierConstructorDescriptionprotected
AnnotatedWithParams
(AnnotatedWithParams base, AnnotationMap[] paramAnnotations) protected
AnnotatedWithParams
(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations) -
Method Summary
Modifier and TypeMethodDescriptionfinal 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
Method that can be used to (try to) call this object with specified arguments.abstract Object
Method that can be used to (try to) call this object with single arguments.final int
abstract Type
getGenericParameterType
(int index) Deprecated.Since 2.7, remove in 2.9final AnnotatedParameter
getParameter
(int index) final AnnotationMap
getParameterAnnotations
(int index) abstract int
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 instanceMethods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.AnnotatedMember
annotations, fixAccess, getAllAnnotations, getAnnotation, getDeclaringClass, getFullName, getMember, getTypeContext, getValue, hasAnnotation, hasOneOf, setValue, withAnnotations
Methods inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.Annotated
equals, getAnnotated, getModifiers, getName, getRawType, getType, hashCode, isPublic, toString
-
Field Details
-
_paramAnnotations
Annotations associated with parameters of the annotated entity (method or constructor parameters)
-
-
Constructor Details
-
AnnotatedWithParams
protected AnnotatedWithParams(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations) -
AnnotatedWithParams
- Since:
- 2.8.1
-
-
Method Details
-
addOrOverrideParam
Method called to override a method parameter annotation, usually due to a mix-in annotation masking or overriding an annotation 'real' method has. -
replaceParameterAnnotations
Method called by parameter object when an augmented instance is created; needs to replace parameter with new instance -
getParameterAnnotations
-
getParameter
-
getParameterCount
public abstract int getParameterCount() -
getRawParameterType
-
getParameterType
- Since:
- 2.7
-
getGenericParameterType
Deprecated.Since 2.7, remove in 2.9 -
getAnnotationCount
public final int getAnnotationCount() -
call
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.
- Throws:
Exception
-
call
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.
- Throws:
Exception
-
call1
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.
- Throws:
Exception
-