| Modifier and Type | Class and Description |
|---|---|
| private static class | AnnotatedConstructor.Serialization
Helper class that is used as the workaround to persist Field references. |
| Modifier and Type | Field and Description |
|---|---|
| protected final Constructor | |
| protected AnnotatedConstructor. | _serialization
Field that is used to make JDK serialization work with this object. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AnnotatedConstructor(TypeResolutionContext ctxt, Constructor<?> constructor, AnnotationMap classAnn, AnnotationMap[] paramAnn)
|
| protected | AnnotatedConstructor(AnnotatedConstructor.
Method used for JDK serialization support |
| 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 boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. |
| public Constructor | getAnnotated()
Implements abstract com. |
| public Class | getDeclaringClass()
Implements abstract com. |
| public Type | getGenericParameterType(int index)
Implements abstract com.
Deprecated
|
| public Member | |
| public int | |
| public String | |
| public int | |
| public JavaType | getParameterType(int index)
Implements abstract com. |
| public Class | getRawParameterType(int index)
Implements abstract com. |
| 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. |
| pack-priv Object | |
| public void | setValue(Object pojo, Object value)
Implements abstract com. |
| public String | toString()
Implements abstract com. |
| public AnnotatedConstructor | withAnnotations(AnnotationMap ann)
Implements abstract com. |
| pack-priv Object |
| _constructor | back to summary |
|---|---|
| protected final Constructor<?> _constructor | |
| _serialization | back to summary |
|---|---|
| protected AnnotatedConstructor. Field that is used to make JDK serialization work with this object.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| AnnotatedConstructor | back to summary |
|---|---|
| public AnnotatedConstructor(TypeResolutionContext ctxt, Constructor<?> constructor, AnnotationMap classAnn, AnnotationMap[] paramAnn) | |
| AnnotatedConstructor | back to summary |
|---|---|
| protected AnnotatedConstructor(AnnotatedConstructor. 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.
| |
| 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 Constructor 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.
| |
| getGenericParameterType | back to summary |
|---|---|
| public Type getGenericParameterType(int index) Implements abstract com. Deprecated
| |
| getMember | back to summary |
|---|---|
| public Member 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.
| |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract com. Doc from com. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.
| |
| getType | back to summary |
|---|---|
| public JavaType getType() Implements abstract com. Doc from com. Full generic type of the annotated element; definition of what exactly this means depends on sub-class.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(Object pojo) throws UnsupportedOperationException 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
| |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |
| setValue | back to summary |
|---|---|
| public void setValue(Object pojo, Object value) throws UnsupportedOperationException 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 AnnotatedConstructor 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 | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| args | back to summary |
|---|---|
| protected Class<?>[] args | |
| clazz | back to summary |
|---|---|
| protected Class<?> clazz | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Serialization | back to summary |
|---|---|
| public Serialization(Constructor<?> ctor) | |