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;
}
Aggregations