super(adapters);
}
@Override
public AnnotationArrayInitializer adapt(ElementValueArrayInitializerContext context) {
AnnotationArrayInitializer annotationArrayInitializer = createNode(context);
List<AnnotationValue> arrayElementValues =
transform(context, ElementValueContext.class,
new Function<ElementValueContext, AnnotationValue>() {
@Override
public AnnotationValue apply(ElementValueContext context) {
return getAdapter(ElementValueAdapter.class).adapt(context);
}
});
annotationArrayInitializer.setElementValues(arrayElementValues);
return annotationArrayInitializer;
}