Package lombok.ast

Examples of lombok.ast.Break


    decl.astModifiers(createModifiersIfNeeded(modifiers.getValue(), decl.getPosition().getStart()));
    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);
  }
View Full Code Here


      }
      set(node, c);
    }
   
    @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);
    }
View Full Code Here

TOP

Related Classes of lombok.ast.Break

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.