Examples of SharpenConversionBatch


Examples of sharpen.core.SharpenConversionBatch

    SimpleProject targetProject = new SimpleProject("TargetProject");
    IFolder targetFolder = targetProject.createFolder("src");

    try {

      SharpenConversionBatch converter = new SharpenConversionBatch(getConfiguration());
      converter.setSource(new ICompilationUnit[] {cu});
      converter.setTargetProject(targetProject.getProject());
      converter.run();

      assertFile(resource, targetFolder.getFile(path + ".cs"));

    } finally {
      targetProject.dispose();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.