Package lombok.ast

Examples of lombok.ast.Modifiers.rawAnnotations()


  }
 
  public Node createModifiers(List<Node> values) {
    Modifiers result = new Modifiers();
    if (values != null) for (Node n : values) {
      if (n instanceof Annotation) result.rawAnnotations().addToEnd(n);
      if (n instanceof KeywordModifier) result.rawKeywords().addToEnd(n);
    }
    return posify(result);
  }
 
View Full Code Here


      set(node, typeDecl);
    }
   
    @Override public void visitModifiers(JCModifiers node) {
      Modifiers m = new Modifiers();
      fillList(node.annotations, m.rawAnnotations());
      for (KeywordModifier mod : KeywordModifier.fromReflectModifiers((int) node.flags)) m.astKeywords().addToEnd(mod);
      setConversionStructureInfo(m, "converted");
      set(node, m);
    }
   
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.