Package com.bacoder.parser.java.api

Examples of com.bacoder.parser.java.api.AnnotationArrayInitializer


    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;
  }
View Full Code Here

TOP

Related Classes of com.bacoder.parser.java.api.AnnotationArrayInitializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.