| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| protected final Constructor | |
| private final AnnotatedConstructor. | |
| private final AnnotatedConstructor. | |
| private final AnnotatedConstructor. |
| Access | Constructor and Description |
|---|---|
| public | AnnotatedConstructor(TypeResolutionContext ctxt, Constructor<?> constructor, AnnotationMap classAnn, AnnotationMap[] paramAnn)
|
| Modifier and Type | Method and Description |
|---|---|
| public final Object | call()
Implements abstract tools. Method that can be used to (try to) call this object without arguments. |
| public final Object | call(Object[] args)
Implements abstract tools. Method that can be used to (try to) call this object with specified arguments. |
| public final Object | call1(Object arg)
Implements abstract tools. Method that can be used to (try to) call this object with single arguments. |
| public boolean | equals(Object o)
Implements abstract tools. Indicates whether some other object is "equal to" this one. |
| public Constructor | getAnnotated()
Implements abstract tools. Method that can be used to find actual JDK element that this instance represents. |
| public Class | getDeclaringClass()
Implements abstract tools. Actual physical class in which this member was declared. |
| public Member | |
| public int | |
| public String | |
| public Parameter[] | getNativeParameters()
Implements abstract tools.
|
| public int | getParameterCount()
Implements abstract tools.
|
| public JavaType | getParameterType(int index)
Implements abstract tools.
|
| public Class | getRawParameterType(int index)
Implements abstract tools.
|
| public Class | getRawType()
Implements abstract tools. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class. |
| public JavaType | getType()
Implements abstract tools. Full generic type of the annotated element; definition of what exactly this means depends on sub-class. |
| public Object | getValue(Object pojo)
Implements abstract tools. 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. |
| public int | hashCode()
Implements abstract tools. Returns a hash code value for this object. |
| public void | setValue(Object pojo, Object value)
Implements abstract tools. Optional method that can be used to assign value of this member on given object, if this is a supported operation for member type. |
| public String | toString()
Implements abstract tools. Returns a string representation of the object. |
| public AnnotatedConstructor | withAnnotations(AnnotationMap ann)
Implements abstract tools. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones. |
| _constructor | back to summary |
|---|---|
| protected final Constructor<?> _constructor | |
| _invokerFixedArity | back to summary |
|---|---|
| private final AnnotatedConstructor. | |
| _invokerNullary | back to summary |
|---|---|
| private final AnnotatedConstructor. | |
| _invokerUnary | back to summary |
|---|---|
| private final AnnotatedConstructor. | |
| AnnotatedConstructor | back to summary |
|---|---|
| public AnnotatedConstructor(TypeResolutionContext ctxt, Constructor<?> constructor, AnnotationMap classAnn, AnnotationMap[] paramAnn) | |
| call | back to summary |
|---|---|
| public final Object call() throws Exception Implements abstract tools. Doc from tools. 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 tools. Doc from tools. 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 tools. Doc from tools. 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 tools. 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 tools. Doc from tools. 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 tools. Doc from tools. Actual physical class in which this member was declared.
| |
| getMember | back to summary |
|---|---|
| public Member getMember() Implements abstract tools.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract tools.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract tools.
| |
| getNativeParameters | back to summary |
|---|---|
| public Parameter[] getNativeParameters() Implements abstract tools.
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() Implements abstract tools.
| |
| getParameterType | back to summary |
|---|---|
| public JavaType getParameterType(int index) Implements abstract tools.
| |
| getRawParameterType | back to summary |
|---|---|
| public Class Implements abstract tools.
| |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract tools. Doc from tools. "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 tools. Doc from tools. 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 tools. Doc from tools. 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 tools. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object pojo, Object value) throws UnsupportedOperationException Implements abstract tools. Doc from tools. 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 tools. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| withAnnotations | back to summary |
|---|---|
| public AnnotatedConstructor withAnnotations(AnnotationMap ann) Implements abstract tools. Doc from tools. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected MethodHandle | unreflect()
Implements abstract tools.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| InvokerHolder | back to summary |
|---|---|
| pack-priv InvokerHolder(MethodType asType) | |
| unreflect | back to summary |
|---|---|
| protected MethodHandle unreflect() throws IllegalAccessException Implements abstract tools.
| |