@Override public void visitBreak(JCBreak tree) { aPrint("break"); if (tree.label != null) { print(" "); print(tree.label); } println(";", tree); }
public void visitBreak(JCBreak that) { try { print("JCBreak:"); } catch (Exception e) { } super.visitBreak(that); }
public void visitBreak(JCBreak tree) { try { print("break"); if (tree.label != null) print(" " + tree.label); print(";"); } catch (IOException e) { throw new UncheckedIOException(e); } }
@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 Description matchBreak(BreakTree tree, VisitorState state) { if (new FinallyJumpMatcher((JCBreak) tree).matches(tree, state)) { return describeMatch(tree); } return Description.NO_MATCH; }
@Override public Description matchBreak(BreakTree tree, VisitorState state) { if (new FinallyJumpMatcher((JCBreak) tree).matches(tree, state)) { return describeMatch(tree, NO_FIX); } return Description.NO_MATCH; }
protected int diffBreak(JCBreak oldT, JCBreak newT, int[] bounds) { final Name oldTLabel = oldT.label; final Name newTlabel = newT.label; return printBreakContinueTree(bounds, oldTLabel, newTlabel, oldT); }
private boolean matchBreak(JCBreak t1, JCBreak t2) { return t1.label == t2.label && treesMatch(t1.target, t2.target); }
public JCBreak Break(Name label) { return invoke(Break, label); }
public AJCBreak(JCBreak ltree) { super(ltree.label, ltree.target); }
public AJCBreak(JCBreak ltree, String lcomment) { this(ltree); setComment(lcomment); }
@Override public void visitBreak(JCBreak tree) { printNode(tree); property("label", tree.label); indent--; }
@Override public JCBreak inline(Inliner inliner) { return inliner.maker().Break(ULabeledStatement.inlineLabel(getLabel(), inliner)); }
public FinallyJumpMatcher(JCBreak jcBreak) { this.label = jcBreak.label; this.jumpType = JumpType.BREAK; }
public void visitBreak(JCBreak tree) { tree.target = findJumpTarget(tree.pos(), tree.getTag(), tree.label, env); result = null; }