Package edu.cmu.cs.crystal.cfg.eclipse

Examples of edu.cmu.cs.crystal.cfg.eclipse.EclipseNodeFirstCFG


    this.monitor = monitor;
  }
 
  @Override
  protected IControlFlowGraph<ASTNode> getControlFlowGraph() {
    return new EclipseNodeFirstCFG(method);
  }
View Full Code Here


@Deprecated
public class EclipseNodeFirstCFGTestAnalysis extends EclipseCFGTestAnalysis {
  @Override
  public IControlFlowGraph getCFG(MethodDeclaration method) {
    return new EclipseNodeFirstCFG(method);
  }
View Full Code Here

    Assert.assertEquals(0, node.getProblems().length);
    List<MethodDeclaration> methods = WorkspaceUtilities
        .scanForMethodDeclarationsFromAST(node);
    Assert.assertEquals(1, methods.size());
    IControlFlowGraph cfg = new EclipseNodeFirstCFG(methods.get(0));

    testGraph = cfg.getDotGraph();
    if (store) {
      out = new FileOutputStream("test/" + subFolder + "_" + file);
    } else {
      out = new FileOutputStream("test/lastrun/" + subFolder + "_" + file);
    }
View Full Code Here

TOP

Related Classes of edu.cmu.cs.crystal.cfg.eclipse.EclipseNodeFirstCFG

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.