Java 类com.sun.tools.javac.tree.JCTree.JCSkip 实例源码

项目:EasyMPermission    文件:PrettyCommentsPrinter.java   
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);
    }
}
项目:lombok-ianchiu    文件:PrettyPrinter.java   
@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);
    }
}
项目:javaparser2jctree    文件:PrintAstVisitor.java   
public void visitSkip(JCSkip that) {
    try {
        print("JCSkip:");
    } catch (Exception e) {
    }
    super.visitSkip(that);
}
项目:EasyMPermission    文件:PrettyCommentsPrinter.java   
public void visitSkip(JCSkip tree) {
    try {
        print(";");
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:android-retrolambda-lombok    文件:JcTreeConverter.java   
@Override public void visitSkip(JCSkip node) {
    if (hasFlag(FlagKey.SKIP_IS_DECL)) {
        set(node, new EmptyDeclaration());
    } else {
        set(node, new EmptyStatement());
    }
}
项目:s4j    文件:Pretty.java   
public void visitSkip(JCSkip tree) {
    try {
        print(";");
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:lombok    文件:PrettyCommentsPrinter.java   
public void visitSkip(JCSkip tree) {
    try {
        print(";");
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:lombok-ianchiu    文件:JavacTreeMaker.java   
public JCSkip Skip() {
    return invoke(Skip);
}
项目:lombok-ianchiu    文件:PrettyPrinter.java   
@Override public void visitSkip(JCSkip that) {
    if (onNewLine && !aligned) {
        align();
    }
    println(";");
}
项目:EasyMPermission    文件:JavacTreeMaker.java   
public JCSkip Skip() {
    return invoke(Skip);
}
项目:refactor-faster    文件:USkip.java   
@Override
public JCSkip inline(Inliner inliner) {
  return inliner.maker().Skip();
}
项目:android-retrolambda-lombok    文件:JcTreePrinter.java   
@Override public void visitSkip(JCSkip tree) {
    printNode(tree);
    indent--;
}
项目:error-prone    文件:USkip.java   
@Override
public JCSkip inline(Inliner inliner) {
  return inliner.maker().Skip();
}
项目:s4j    文件:Attr.java   
public void visitSkip(JCSkip tree) {
    result = null;
}
项目:Refaster    文件:USkip.java   
@Override
public JCSkip inline(Inliner inliner) {
  return inliner.maker().Skip();
}