Package lombok.ast

Examples of lombok.ast.Break.astLabel()


    return posify(new ForEach().rawVariable(decl).rawIterable(iterable).rawStatement(statement));
  }
 
  public Node createBreak(Node label) {
    Break b = new Break();
    if (label != null) b.astLabel(createIdentifierIfNeeded(label, currentPos()));
    return posify(b);
  }
 
  public Node createContinue(Node label) {
    Continue c = new Continue();
View Full Code Here


    }
   
    @Override public void visitBreak(JCBreak node) {
      Break b = new Break();
      if (node.getLabel() != null) {
        b.astLabel(new Identifier().astValue(node.getLabel().toString()));
      }
      set(node, b);
    }
   
    @Override public void visitForeachLoop(JCEnhancedForLoop node) {
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.