| Modifier and Type | Class and Description |
|---|---|
| private static class | AnnotatedMethod.Serialization
Helper class that is used as the workaround to persist Field references. |
| Modifier and Type | Field and Description |
|---|---|
| protected final transient Method | |
| protected Class | |
| protected AnnotatedMethod. | _serialization
Field that is used to make JDK serialization work with this object. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AnnotatedMethod(TypeResolutionContext ctxt, Method method, AnnotationMap classAnn, AnnotationMap[] paramAnnotations)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final Object | call()
Implements abstract com. |
| public final Object | call(Object[] args)
Implements abstract com. |
| public final Object | call1(Object arg)
Implements abstract com. |
| public final Object | |
| public final Object | |
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. |
| public Method | getAnnotated()
Implements abstract com. |
| public Class | getDeclaringClass()
Implements abstract com. |
| public String | |
| public Type | getGenericParameterType(int index)
Implements abstract com.
Deprecated
|
| public Type[] | |
| public Method | |
| public int | |
| public String | |
| public int | |
| public JavaType | getParameterType(int index)
Implements abstract com. |
| public Class | getRawParameterType(int index)
Implements abstract com. |
| public Class | |
| public Class | |
| public Class | getRawType()
Implements abstract com. |
| public JavaType | getType()
Implements abstract com. |
| public Object | getValue(Object pojo)
Implements abstract com. |
| public int | hashCode()
Implements abstract com. |
| public boolean | hasReturnType()
Deprecated
Since 2.12 (related to [databind#2675]), needs to be configurable
Helper method that can be used to check whether method returns
a value or not; if return type declared as void, returns
false, otherwise true
|
| pack-priv Object | |
| public void | setValue(Object pojo, Object value)
Implements abstract com. |
| public String | toString()
Implements abstract com. |
| public AnnotatedMethod | withAnnotations(AnnotationMap ann)
Implements abstract com. |
| pack-priv Object |
| _method | back to summary |
|---|---|
| protected final transient Method _method | |
| _paramClasses | back to summary |
|---|---|
| protected Class<?>[] _paramClasses | |
| _serialization | back to summary |
|---|---|
| protected AnnotatedMethod. Field that is used to make JDK serialization work with this object.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| AnnotatedMethod | back to summary |
|---|---|
| public AnnotatedMethod(TypeResolutionContext ctxt, Method method, AnnotationMap classAnn, AnnotationMap[] paramAnnotations) | |
| AnnotatedMethod | back to summary |
|---|---|
| protected AnnotatedMethod(AnnotatedMethod. Method used for JDK serialization support
| |
| call | back to summary |
|---|---|
| public final Object call() throws Exception Implements abstract com. Doc from com. 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 final Object call(Object[] args) throws Exception Implements abstract com. Doc from com. 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 final Object call1(Object arg) throws Exception Implements abstract com. Doc from com. 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.
| |
| callOn | back to summary |
|---|---|
| public final Object callOn(Object pojo) throws Exception | |
| callOnWith | back to summary |
|---|---|
| public final Object callOnWith(Object pojo, Object... args) throws Exception | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract com. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotated | back to summary |
|---|---|
| public Method getAnnotated() Implements abstract com. Doc from com. Method that can be used to find actual JDK element that this instance represents. It is non-null, except for method/constructor parameters which do not have a JDK counterpart.
| |
| getDeclaringClass | back to summary |
|---|---|
| public Class Implements abstract com. Doc from com. Actual physical class in which this member was declared.
| |
| getFullName | back to summary |
|---|---|
| public String getFullName() Overrides com.
| |
| getGenericParameterType | back to summary |
|---|---|
| public Type getGenericParameterType(int index) Implements abstract com. Deprecated
| |
| getGenericParameterTypes | back to summary |
|---|---|
| public Type[] getGenericParameterTypes()
Deprecated
| |
| getMember | back to summary |
|---|---|
| public Method getMember() Implements abstract com.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract com.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract com.
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() Implements abstract com.
| |
| getParameterType | back to summary |
|---|---|
| public JavaType getParameterType(int index) Implements abstract com.
| |
| getRawParameterType | back to summary |
|---|---|
| public Class Implements abstract com.
| |
| getRawParameterTypes | back to summary |
|---|---|
| public Class | |
| getRawReturnType | back to summary |
|---|---|
| public Class | |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract com. For methods, this returns declared return type, which is only useful with getters (setters do not usually return anything; hence "void" type is returned here)
| |
| getType | back to summary |
|---|---|
| public JavaType getType() Implements abstract com. For methods, this returns declared return type, which is only useful with getters (setters do not return anything; hence `Void` would be returned here)
| |
| getValue | back to summary |
|---|---|
| public Object getValue(Object pojo) throws IllegalArgumentException Implements abstract com. Doc from com. Optional method that can be used to access the value of this member on given object, if this is a supported operation for member type. This is implemented for fields and no-argument member methods; but not for constructor parameters or other types of methods (like static methods)
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract com. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasReturnType | back to summary |
|---|---|
| public boolean hasReturnType()
Deprecated Since 2.12 (related to [databind#2675]), needs to be configurable Helper method that can be used to check whether method returns
a value or not; if return type declared as
| |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |
| setValue | back to summary |
|---|---|
| public void setValue(Object pojo, Object value) throws IllegalArgumentException Implements abstract com. Doc from com. Optional method that can be used to assign value of this member on given object, if this is a supported operation for member type. This is implemented for fields and single-argument member methods; but not for constructor parameters or other types of methods (like static methods)
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract com. Doc from java. Returns a string representation of the object. | |
| withAnnotations | back to summary |
|---|---|
| public AnnotatedMethod withAnnotations(AnnotationMap ann) Implements abstract com. Doc from com. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.
| |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| protected Class | |
| protected Class | |
| protected String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| args | back to summary |
|---|---|
| protected Class<?>[] args | |
| clazz | back to summary |
|---|---|
| protected Class<?> clazz | |
| name | back to summary |
|---|---|
| protected String name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Serialization | back to summary |
|---|---|
| public Serialization(Method setter) | |