List<TargetTypeBuildScope> (CompileScope scope, List<TargetTypeBuildScope> scopes, boolean forceBuild) { for (BuildTargetScopeProvider provider : BuildTargetScopeProvider.EP_NAME.getExtensionList()) { List<TargetTypeBuildScope> providerScopes = ReadAction.compute( () -> myProject.isDisposed() ? Collections.emptyList() : provider.getBuildTargetScopes(scope, myProject, forceBuild)); scopes = CompileScopeUtil.mergeScopes(scopes, providerScopes); } return scopes; }