| Modifier and Type | Field and Description |
|---|---|
| private String | name
The the parameter name. |
| private ObjectTypedValueWrapper | value
The parameter value. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | AnnotationParameterValue(final String
The annotation paramater name. name, final Object The annotation parameter value. value)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final AnnotationParameterValue
the object to be compared. other)Implements java. Compares this object with the specified object for order. |
| pack-priv void | convertWrapperArraysToPrimitiveArrays(final ClassInfo
the annotation class info annotationClassInfo)For primitive array type params, replace Object[] arrays containing boxed types with primitive arrays (need to check the type of each method of the annotation class to determine if it is a primitive array type). |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| protected void | findReferencedClassInfo(final Map<String, ClassInfo>
the map from class name to classNameToClassInfo, final Set<ClassInfo> ClassInfo.the referenced class info refdClassInfo, final LogNode the log log)Overrides io. Get |
| protected ClassInfo | getClassInfo()
Overrides io. Get the |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| public String | Returns: The annotation parameter name.Implements io. Get the annotation parameter name. |
| public Object | Returns: The annotation parameter value. May be one of the following types:
Get the annotation parameter value. |
| public int | |
| pack-priv Object | Returns: the instancethe annotation class info annotationClassInfo)Instantiate an annotation parameter value. |
| pack-priv void | setScanResult(final ScanResult
the scan result scanResult)Overrides io. Set ScanResult backreferences in info objects after scan has completed. |
| pack-priv void | |
| protected void | toString(final boolean
if true, use just the simple name of each class. useSimpleNames, final StringBuilder the buf buf)Implements abstract io. Render to string. |
| private static void | toString(final Object
the value val, final boolean the use simple names useSimpleNames, final StringBuilder the buffer buf)Write an annotation parameter value's string representation to the buffer. |
| pack-priv void | toStringParamValueOnly(final boolean useSimpleNames, final StringBuilder
the buf buf)To string, param value only. |
| private String |
| name | back to summary |
|---|---|
| private String name The the parameter name. | |
| value | back to summary |
|---|---|
| private ObjectTypedValueWrapper value The parameter value. | |
| AnnotationParameterValue | back to summary |
|---|---|
| pack-priv AnnotationParameterValue() Default constructor for deserialization. | |
| AnnotationParameterValue | back to summary |
|---|---|
| pack-priv AnnotationParameterValue(final String name, final Object value) Constructor. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final AnnotationParameterValue other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| convertWrapperArraysToPrimitiveArrays | back to summary |
|---|---|
| pack-priv void convertWrapperArraysToPrimitiveArrays(final ClassInfo annotationClassInfo) For primitive array type params, replace Object[] arrays containing boxed types with primitive arrays (need to check the type of each method of the annotation class to determine if it is a primitive array type).
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. 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. | |
| findReferencedClassInfo | back to summary |
|---|---|
| protected void findReferencedClassInfo(final Map<String, ClassInfo> classNameToClassInfo, final Set<ClassInfo> refdClassInfo, final LogNode log) Overrides io. Get | |
| getClassInfo | back to summary |
|---|---|
| protected ClassInfo getClassInfo() Overrides io. Doc from io. Get the | |
| getClassName | back to summary |
|---|---|
| protected String getClassName() Implements abstract io. Doc from io. The name of the class (used by | |
| getName | back to summary |
|---|---|
| public String getName() Implements io. Get the annotation parameter name. | |
| getValue | back to summary |
|---|---|
| public Object getValue() Get the annotation parameter value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. 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
| |
| instantiate | back to summary |
|---|---|
| pack-priv Object instantiate(final ClassInfo annotationClassInfo) Instantiate an annotation parameter value. | |
| setScanResult | back to summary |
|---|---|
| pack-priv void setScanResult(final ScanResult scanResult) Overrides io. Doc from io. Set ScanResult backreferences in info objects after scan has completed.
| |
| setValue | back to summary |
|---|---|
| pack-priv void setValue(final Object newValue) Set (update) the value of the annotation parameter. Used to replace Object[] arrays containing boxed types into primitive arrays.
| |
| toString | back to summary |
|---|---|
| protected void toString(final boolean useSimpleNames, final StringBuilder buf) Implements abstract io. Doc from io. Render to string.
| |
| toString | back to summary |
|---|---|
| private static void toString(final Object val, final boolean useSimpleNames, final StringBuilder buf) Write an annotation parameter value's string representation to the buffer.
| |
| toStringParamValueOnly | back to summary |
|---|---|
| pack-priv void toStringParamValueOnly(final boolean useSimpleNames, final StringBuilder buf) To string, param value only.
| |
| toStringParamValueOnly | back to summary |
|---|---|
| private String toStringParamValueOnly() To string, param value only.
| |