void convertWrapperArraysToPrimitiveArrays() { if (annotationParamValues != null) { annotationParamValues.convertWrapperArraysToPrimitiveArrays(getClassInfo()); } }
/** * @return A list of {@link AnnotationParameterValue} objects for each of the default parameter values for this * annotation, if this is an annotation class with default parameter values, otherwise the empty list. */ public AnnotationParameterValueList getAnnotationDefaultParameterValues() { if (!scanResult.scanSpec.enableAnnotationInfo) { throw new IllegalArgumentException("Please call ClassGraph#enableAnnotationInfo() before #scan()"); } if (!isAnnotation) { throw new IllegalArgumentException("Class is not an annotation: " + getName()); } if (annotationDefaultParamValues == null) { return AnnotationParameterValueList.EMPTY_LIST; } if (!annotationDefaultParamValuesHasBeenConvertedToPrimitive) { annotationDefaultParamValues.convertWrapperArraysToPrimitiveArrays(this); annotationDefaultParamValuesHasBeenConvertedToPrimitive = true; } return annotationDefaultParamValues; }
annotationParamValues.convertWrapperArraysToPrimitiveArrays(classInfo); annotationParamValuesHasBeenConvertedToPrimitive = true; classInfo.annotationDefaultParamValues.convertWrapperArraysToPrimitiveArrays(classInfo); classInfo.annotationDefaultParamValuesHasBeenConvertedToPrimitive = true;