use of com.jetbrains.cidr.toolchains.OCCompilerSettingsBackedByCompilerCache in project intellij by bazelbuild.
the class OCResolveConfigurationAdapter method getCompilerFeatures.
@Override
public Map<Type<?>, ?> getCompilerFeatures(OCLanguageKind kind, @Nullable VirtualFile virtualFile) {
OCCompilerSettings compilerSettings = getCompilerSettings();
if (!(compilerSettings instanceof OCCompilerSettingsBackedByCompilerCache)) {
return Collections.emptyMap();
}
OCCompilerSettingsBackedByCompilerCache backedCompilerSettings = (OCCompilerSettingsBackedByCompilerCache) compilerSettings;
return backedCompilerSettings.getCompilerFeatures(kind, virtualFile);
}
Aggregations