public void visitLabelled(JCLabeledStatement tree) { try { print(tree.label + ":"); if (isEmptyStat(tree.body) || tree.body instanceof JCSkip) { print(" ;"); } else if (tree.body instanceof JCBlock) { print(" "); printStat(tree.body); } else { println(); align(); printStat(tree.body); } } catch (IOException e) { throw new UncheckedIOException(e); } }
@Override public void visitLabelled(JCLabeledStatement tree) { aPrint(tree.label); print(":"); if (tree.body instanceof JCSkip || suppress(tree)) { println(" ;", tree); } else if (tree.body instanceof JCBlock) { print(" "); print(tree.body); } else { println(tree); print(tree.body); } }
public void visitSkip(JCSkip that) { try { print("JCSkip:"); } catch (Exception e) { } super.visitSkip(that); }
public void visitSkip(JCSkip tree) { try { print(";"); } catch (IOException e) { throw new UncheckedIOException(e); } }
@Override public void visitSkip(JCSkip node) { if (hasFlag(FlagKey.SKIP_IS_DECL)) { set(node, new EmptyDeclaration()); } else { set(node, new EmptyStatement()); } }
public JCSkip Skip() { return invoke(Skip); }
@Override public void visitSkip(JCSkip that) { if (onNewLine && !aligned) { align(); } println(";"); }
@Override public JCSkip inline(Inliner inliner) { return inliner.maker().Skip(); }
@Override public void visitSkip(JCSkip tree) { printNode(tree); indent--; }
public void visitSkip(JCSkip tree) { result = null; }