Package ceylon.modules.api.compiler

Examples of ceylon.modules.api.compiler.CompilerAdapterFactory


     * @return the class file
     * @throws IOException for any I/O error
     */
    protected synchronized File getClassFile() throws IOException {
        if (classFile == null) {
            CompilerAdapterFactory factory = CompilerAdapterFactory.getInstance();
            classFile = factory.compile(sourceFile, name, classesRoot);
        }
        return classFile;
    }
View Full Code Here


    public ClassSpec getClassSpec(String name) throws IOException {
        File file = new File(classesRoot, name);
        if (file.exists()) {
            return toClassSpec(file);
        } else {
            CompilerAdapterFactory factory = CompilerAdapterFactory.getInstance();
            file = factory.findAndCompile(sourcesRoot, name, classesRoot);
            return file != null ? toClassSpec(file) : null;
        }
    }
View Full Code Here

TOP

Related Classes of ceylon.modules.api.compiler.CompilerAdapterFactory

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.