/** * @param name * The annotation paramater name. * @param value * The annotation parameter value. */ AnnotationParameterValue(final String name, final Object value) { this.name = name; this.value = new ObjectTypedValueWrapper(value); }
/** * Set (update) the value of the annotation parameter. Used to replace Object[] arrays containing boxed types * into primitive arrays. */ void setValue(final Object newValue) { this.value = new ObjectTypedValueWrapper(newValue); }
: new ObjectTypedValueWrapper(constantInitializerValue); this.annotationInfo = annotationInfo == null || annotationInfo.isEmpty() ? null : annotationInfo;
objectArrayValue = new ObjectTypedValueWrapper[n]; for (int i = 0; i < n; i++) { objectArrayValue[i] = new ObjectTypedValueWrapper(Array.get(annotationParamValue, i));