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

项目:lombok-ianchiu    文件:PrettyPrinter.java   
@Override public void visitBreak(JCBreak tree) {
    aPrint("break");
    if (tree.label != null) {
        print(" ");
        print(tree.label);
    }
    println(";", tree);
}
项目:javaparser2jctree    文件:PrintAstVisitor.java   
public void visitBreak(JCBreak that) {
    try {
        print("JCBreak:");
    } catch (Exception e) {
    }
    super.visitBreak(that);
}
项目:EasyMPermission    文件:PrettyCommentsPrinter.java   
public void visitBreak(JCBreak tree) {
    try {
        print("break");
        if (tree.label != null) print(" " + tree.label);
        print(";");
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:android-retrolambda-lombok    文件:JcTreeConverter.java   
@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);
}
项目:error-prone    文件:Finally.java   
@Override
public Description matchBreak(BreakTree tree, VisitorState state) {
  if (new FinallyJumpMatcher((JCBreak) tree).matches(tree, state)) {
    return describeMatch(tree);
  }
  return Description.NO_MATCH;
}
项目:s4j    文件:Pretty.java   
public void visitBreak(JCBreak tree) {
    try {
        print("break");
        if (tree.label != null) print(" " + tree.label);
        print(";");
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:error-prone-aspirator    文件:Finally.java   
@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;
}
项目:lombok    文件:PrettyCommentsPrinter.java   
public void visitBreak(JCBreak tree) {
    try {
        print("break");
        if (tree.label != null) print(" " + tree.label);
        print(";");
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:incubator-netbeans    文件:CasualDiff.java   
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);
}
项目:incubator-netbeans    文件:CasualDiff.java   
private boolean matchBreak(JCBreak t1, JCBreak t2) {
    return t1.label == t2.label && treesMatch(t1.target, t2.target);
}
项目:lombok-ianchiu    文件:JavacTreeMaker.java   
public JCBreak Break(Name label) {
    return invoke(Break, label);
}
项目:javaparser2jctree    文件:AJCBreak.java   
public AJCBreak(JCBreak ltree) {
    super(ltree.label, ltree.target);
}
项目:javaparser2jctree    文件:AJCBreak.java   
public AJCBreak(JCBreak ltree, String lcomment) {
    this(ltree);
    setComment(lcomment);
}
项目:EasyMPermission    文件:JavacTreeMaker.java   
public JCBreak Break(Name label) {
    return invoke(Break, label);
}
项目:android-retrolambda-lombok    文件:JcTreePrinter.java   
@Override public void visitBreak(JCBreak tree) {
    printNode(tree);
    property("label", tree.label);
    indent--;
}
项目:error-prone    文件:UBreak.java   
@Override
public JCBreak inline(Inliner inliner) {
  return inliner.maker().Break(ULabeledStatement.inlineLabel(getLabel(), inliner));
}
项目:error-prone    文件:Finally.java   
public FinallyJumpMatcher(JCBreak jcBreak) {
  this.label = jcBreak.label;
  this.jumpType = JumpType.BREAK;
}
项目:s4j    文件:Attr.java   
public void visitBreak(JCBreak tree) {
    tree.target = findJumpTarget(tree.pos(), tree.getTag(), tree.label, env);
    result = null;
}
项目:error-prone-aspirator    文件:Finally.java   
public FinallyJumpMatcher(JCBreak jcBreak) {
  this.label = jcBreak.label;
  this.jumpType = JumpType.BREAK;
}