Search in sources :

Example 6 with Options

use of org.eclipse.ceylon.langtools.tools.javac.util.Options in project ceylon by eclipse.

the class CeyloncCompilerDelegate method getStatusPrinter.

private StatusPrinter getStatusPrinter() {
    Options options = Options.instance(context);
    boolean isProgressPrinted = options.get(Option.CEYLONPROGRESS) != null && StatusPrinter.canPrint();
    if (isProgressPrinted) {
        return LanguageCompiler.getStatusPrinterInstance(context);
    } else {
        return null;
    }
}
Also used : Options(org.eclipse.ceylon.langtools.tools.javac.util.Options)

Aggregations

Options (org.eclipse.ceylon.langtools.tools.javac.util.Options)6 File (java.io.File)1 CeylonConfig (org.eclipse.ceylon.common.config.CeylonConfig)1 LazyModuleSourceMapper (org.eclipse.ceylon.compiler.java.loader.model.LazyModuleSourceMapper)1 JavaCompiler (org.eclipse.ceylon.langtools.tools.javac.main.JavaCompiler)1 Option (org.eclipse.ceylon.langtools.tools.javac.main.Option)1 OptionHelper (org.eclipse.ceylon.langtools.tools.javac.main.OptionHelper)1 GrumpyHelper (org.eclipse.ceylon.langtools.tools.javac.main.OptionHelper.GrumpyHelper)1 Log (org.eclipse.ceylon.langtools.tools.javac.util.Log)1