AnnotationParameterValue objects.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final AnnotationParameterValueList | EMPTY_LIST
An unmodifiable empty |
| private static final long | serialVersionUID
Hides io. |
| Access | Constructor and Description |
|---|---|
| public | AnnotationParameterValueList()
Construct a new modifiable empty list of |
| public | AnnotationParameterValueList(final int
the size hint sizeHint)Construct a new modifiable empty list of |
| public | AnnotationParameterValueList(final Collection<AnnotationParameterValue>
the collection of annotationParameterValueCollection)AnnotationParameterValue objects.Construct a new modifiable empty |
| Modifier and Type | Method and Description |
|---|---|
| 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 static AnnotationParameterValueList | Returns: the unmodifiable emptyAnnotationParameterValueList.Return an unmodifiable empty |
| protected void | |
| public Object | Returns: The value of theAnnotationParameterValue object in the list with the given name, by calling
AnnotationParameterValue#getValue() on that object, or null if not found.
The annotation parameter value may be one of the following types:
The name of an annotation parameter. parameterName)Get the annotation parameter value, by calling |
| EMPTY_LIST | back to summary |
|---|---|
| pack-priv static final AnnotationParameterValueList EMPTY_LIST An unmodifiable empty | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. serialVersionUID | |
| AnnotationParameterValueList | back to summary |
|---|---|
| public AnnotationParameterValueList() Construct a new modifiable empty list of | |
| AnnotationParameterValueList | back to summary |
|---|---|
| public AnnotationParameterValueList(final int sizeHint) Construct a new modifiable empty list of
| |
| AnnotationParameterValueList | back to summary |
|---|---|
| public AnnotationParameterValueList(final Collection<AnnotationParameterValue> annotationParameterValueCollection) Construct a new modifiable empty
| |
| 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).
| |
| emptyList | back to summary |
|---|---|
| public static AnnotationParameterValueList emptyList() Return an unmodifiable empty
| |
| findReferencedClassInfo | back to summary |
|---|---|
| protected void findReferencedClassInfo(final Map<String, ClassInfo> classNameToClassInfo, final Set<ClassInfo> refdClassInfo, final LogNode log) Get | |
| getValue | back to summary |
|---|---|
| public Object getValue(final String parameterName) Get the annotation parameter value, by calling
| |