Package me.pixodro.j2cpp.core

Examples of me.pixodro.j2cpp.core.Converter


        for (final ICompilationUnit compilationUnit : packageFragment.getCompilationUnits()) {
          compilationUnits.add(compilationUnit);
        }
      }

      final Converter converter = new Converter();
      parser.createASTs(compilationUnits.toArray(new ICompilationUnit[compilationUnits.size()]), new String[0], converter, new NullProgressMonitor());

      final IFolder folder = fragmentRoot.getJavaProject().getProject().getFolder("out");
      folder.create(IResource.FORCE, true, null);

      converter.generateTo(folder);
    } catch (final Exception e) {
      e.printStackTrace();
    }

    return null;
View Full Code Here

TOP

Related Classes of me.pixodro.j2cpp.core.Converter

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.