Search in sources :

Example 1 with GenericCompiler

use of com.intellij.openapi.compiler.generic.GenericCompiler in project intellij-community by JetBrains.

the class ValidationConfigurable method getValidators.

private List<Compiler> getValidators() {
    final CompilerManager compilerManager = CompilerManager.getInstance(myProject);
    final List<Compiler> validators = new ArrayList<>();
    validators.addAll(Arrays.asList(compilerManager.getCompilers(Validator.class)));
    for (GenericCompiler compiler : compilerManager.getCompilers(GenericCompiler.class)) {
        if (compiler.getOrderPlace() == GenericCompiler.CompileOrderPlace.VALIDATING) {
            validators.add(compiler);
        }
    }
    return validators;
}
Also used : GenericCompiler(com.intellij.openapi.compiler.generic.GenericCompiler) Compiler(com.intellij.openapi.compiler.Compiler) CompilerManager(com.intellij.openapi.compiler.CompilerManager) GenericCompiler(com.intellij.openapi.compiler.generic.GenericCompiler)

Aggregations

Compiler (com.intellij.openapi.compiler.Compiler)1 CompilerManager (com.intellij.openapi.compiler.CompilerManager)1 GenericCompiler (com.intellij.openapi.compiler.generic.GenericCompiler)1