in src/main/java/org/apache/sling/maven/bundlesupport/GenerateAdapterMetadataMojo.java [139:150]
private void parseAdaptablesAnnotation(
AnnotationParameterValueList annotationParameterValues,
String annotatedClassName,
final Map<String, Object> descriptor)
throws JsonException {
// only one mandatory parameter "value" of type Adaptable[]
Object[] annotationInfos = (Object[]) annotationParameterValues.get(0).getValue();
for (Object annotationInfo : annotationInfos) {
parseAdaptableAnnotation(
((AnnotationInfo) annotationInfo).getParameterValues(), annotatedClassName, descriptor);
}
}