Package org.codehaus.groovy.ast

Examples of org.codehaus.groovy.ast.ClassNode.addAnnotation()


  }

  @Test
  public void transformationOfAnnotationOnClass() {
    ClassNode classNode = new ClassNode("Test", 0, new ClassNode(Object.class));
    classNode.addAnnotation(this.grabAnnotation);
    this.moduleNode.addClass(classNode);

    assertGrabAnnotationHasBeenTransformation();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.