| Modifier and Type | Field and Description |
|---|---|
| protected final int | _index
Index of the parameter within argument list |
| protected final AnnotatedWithParams | _owner
Member (method, constructor) that this parameter belongs to |
| protected final JavaType | _type
JDK type of the parameter, possibly contains generic type information |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AnnotatedParameter(AnnotatedWithParams owner, JavaType type, TypeResolutionContext typeContext, AnnotationMap annotations, int index)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. Indicates whether some other object is "equal to" this one. |
| public AnnotatedElement | getAnnotated()
Implements abstract com. Since there is no matching JDK element, this method will always return null |
| public Class | getDeclaringClass()
Implements abstract com. Actual physical class in which this member was declared. |
| public int | Returns: Index of this parameter within argument listAccessor for index of this parameter within argument list |
| public Member | |
| public int | getModifiers()
Implements abstract com. Returns modifiers of the constructor, as parameters do not have independent modifiers. |
| public String | getName()
Implements abstract com. Parameters have no names in bytecode (unlike in source code), will always return empty String (""). |
| public AnnotatedWithParams | Returns: Owner (member or creator) object of this parameterAccessor for 'owner' of this parameter; method or constructor that has this parameter as member of its argument list. |
| public Type | |
| public Class | getRawType()
Implements abstract com. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class. |
| public JavaType | getType()
Implements abstract com. Full generic type of the annotated element; definition of what exactly this means depends on sub-class. |
| public Object | getValue(Object pojo)
Implements abstract 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. |
| public int | hashCode()
Implements abstract com. Returns a hash code value for this object. |
| public void | setValue(Object pojo, Object value)
Implements abstract 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. |
| public String | toString()
Implements abstract com. Returns a string representation of the object. |
| public AnnotatedParameter | withAnnotations(AnnotationMap ann)
Implements abstract com. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones. |
| _index | back to summary |
|---|---|
| protected final int _index Index of the parameter within argument list | |
| _owner | back to summary |
|---|---|
| protected final AnnotatedWithParams _owner Member (method, constructor) that this parameter belongs to | |
| _type | back to summary |
|---|---|
| protected final JavaType _type JDK type of the parameter, possibly contains generic type information | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| AnnotatedParameter | back to summary |
|---|---|
| public AnnotatedParameter(AnnotatedWithParams owner, JavaType type, TypeResolutionContext typeContext, AnnotationMap annotations, int index) | |
| 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 AnnotatedElement getAnnotated() Implements abstract com. Since there is no matching JDK element, this method will always return null
| |
| getDeclaringClass | back to summary |
|---|---|
| public Class Implements abstract com. Doc from com. Actual physical class in which this member was declared.
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() Accessor for index of this parameter within argument list
| |
| getMember | back to summary |
|---|---|
| public Member getMember() Implements abstract com.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract com. Returns modifiers of the constructor, as parameters do not have independent modifiers.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract com. Parameters have no names in bytecode (unlike in source code), will always return empty String ("").
| |
| getOwner | back to summary |
|---|---|
| public AnnotatedWithParams getOwner() Accessor for 'owner' of this parameter; method or constructor that has this parameter as member of its argument list.
| |
| getParameterType | back to summary |
|---|---|
| public Type getParameterType() | |
| 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 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 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.
Satisfying this method's contract implies a non- | |
| withAnnotations | back to summary |
|---|---|
| public AnnotatedParameter 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.
| |