IJPL-797 intellij.platform.externalSystem.impl review internal API

Phase 1: hide API exposing first party internal APIs

GitOrigin-RevId: 7b859fef94b00b621fcd8502a4a985d2ed9cc0ed
This commit is contained in:
Nikita.Skvortsov
2024-06-21 12:13:43 +02:00
committed by intellij-monorepo-bot
parent 1050a70ab8
commit f28bb6e5c8
9 changed files with 18 additions and 144 deletions

View File

@@ -574,9 +574,6 @@ a:com.intellij.openapi.externalSystem.dependency.analyzer.ExternalSystemDependen
- <init>(com.intellij.openapi.externalSystem.model.ProjectSystemId):V
- getConfigFile(com.intellij.openapi.actionSystem.AnActionEvent):com.intellij.openapi.vfs.VirtualFile
- a:getExternalProjectPath(com.intellij.openapi.actionSystem.AnActionEvent):java.lang.String
f:com.intellij.openapi.externalSystem.diagnostic.ExternalSystemObservabilityScopesKt
- sf:ExternalSystem:com.intellij.platform.diagnostic.telemetry.Scope
- sf:forSystem(com.intellij.openapi.externalSystem.model.ProjectSystemId):com.intellij.platform.diagnostic.telemetry.Scope
*a:com.intellij.openapi.externalSystem.importing.AbstractOpenProjectProvider
- *sf:Companion:com.intellij.openapi.externalSystem.importing.AbstractOpenProjectProvider$Companion
- <init>():V
@@ -1317,13 +1314,6 @@ c:com.intellij.openapi.externalSystem.service.project.ExternalLibraryPathTypeMap
- com.intellij.openapi.externalSystem.service.project.ExternalLibraryPathTypeMapper
- <init>():V
- map(com.intellij.openapi.externalSystem.model.project.LibraryPathType):com.intellij.openapi.roots.OrderRootType
*f:com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl
- com.intellij.openapi.components.PersistentStateComponent
- <init>():V
- createModifiableWorkspace(java.util.function.Supplier):com.intellij.openapi.externalSystem.service.project.ModifiableWorkspace
- getState():com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl$State
- s:isDependencySubstitutionEnabled():Z
- loadState(com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl$State):V
f:com.intellij.openapi.externalSystem.service.project.ExternalSystemModulePropertyManagerBridge
- com.intellij.openapi.externalSystem.ExternalSystemModulePropertyManager
- <init>(com.intellij.openapi.module.Module):V
@@ -1397,7 +1387,6 @@ c:com.intellij.openapi.externalSystem.service.project.IdeModifiableModelsProvide
- newModule(com.intellij.openapi.externalSystem.model.project.ModuleData):com.intellij.openapi.module.Module
- newModule(java.lang.String,java.lang.String):com.intellij.openapi.module.Module
*f:com.intellij.openapi.externalSystem.service.project.ModifiableWorkspace
- <init>(com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl$State,java.util.function.Supplier):V
- addSubstitution(java.lang.String,java.lang.String,java.lang.String,com.intellij.openapi.roots.DependencyScope):V
- commit():V
- findModule(com.intellij.openapi.externalSystem.model.project.ProjectCoordinate):java.lang.String
@@ -1481,19 +1470,6 @@ c:com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDat
- com.intellij.ide.caches.CachesInvalidator
- <init>():V
- invalidateCaches():V
f:com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDataStorage
- com.intellij.openapi.util.SimpleModificationTracker
- com.intellij.configurationStore.SettingsSavingComponentJavaAdapter
- com.intellij.openapi.components.PersistentStateComponent
- sf:STORAGE_VERSION:I
- <init>(com.intellij.openapi.project.Project):V
- doSave():V
- s:getInstance(com.intellij.openapi.project.Project):com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDataStorage
- s:getProjectConfigurationDir(com.intellij.openapi.project.Project):java.nio.file.Path
- getState():com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDataStorage$State
- s:invalidateCaches():V
- load():V
- loadState(com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDataStorage$State):V
f:com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsManagerImpl
- com.intellij.openapi.Disposable
- com.intellij.openapi.components.PersistentStateComponent
@@ -2355,94 +2331,6 @@ com.intellij.openapi.externalSystem.service.ui.util.SettingsFragmentInfo
- a:getSettingsName():java.lang.String
- a:getSettingsPriority():I
- a:getSettingsType():com.intellij.execution.ui.SettingsEditorFragmentType
f:com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector
- sf:INSTANCE:com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector
- f:getEXTERNAL_SYSTEM_ID():com.intellij.internal.statistic.eventLog.events.StringEventField
- getGroup():com.intellij.internal.statistic.eventLog.EventLogGroup
- sf:trigger(com.intellij.openapi.project.Project,com.intellij.openapi.externalSystem.model.ProjectSystemId,com.intellij.openapi.actionSystem.AnAction,com.intellij.openapi.actionSystem.AnActionEvent):V
- sf:trigger(com.intellij.openapi.project.Project,com.intellij.openapi.externalSystem.model.ProjectSystemId,com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId,com.intellij.openapi.actionSystem.AnActionEvent,com.intellij.execution.Executor):V
- sf:trigger(com.intellij.openapi.project.Project,com.intellij.openapi.externalSystem.model.ProjectSystemId,com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId,java.lang.String,Z,com.intellij.execution.Executor):V
- bs:trigger$default(com.intellij.openapi.project.Project,com.intellij.openapi.externalSystem.model.ProjectSystemId,com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId,com.intellij.openapi.actionSystem.AnActionEvent,com.intellij.execution.Executor,I,java.lang.Object):V
- bs:trigger$default(com.intellij.openapi.project.Project,com.intellij.openapi.externalSystem.model.ProjectSystemId,com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId,java.lang.String,Z,com.intellij.execution.Executor,I,java.lang.Object):V
e:com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId
- java.lang.Enum
- sf:ExecuteExternalSystemRunConfigurationAction:com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId
- sf:RunExternalSystemTaskAction:com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId
- s:getEntries():kotlin.enums.EnumEntries
- s:valueOf(java.lang.String):com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId
- s:values():com.intellij.openapi.externalSystem.statistics.ExternalSystemActionsCollector$ActionId[]
f:com.intellij.openapi.externalSystem.statistics.ExternalSystemSourceAttachCollector
- sf:INSTANCE:com.intellij.openapi.externalSystem.statistics.ExternalSystemSourceAttachCollector
- getGroup():com.intellij.internal.statistic.eventLog.EventLogGroup
- sf:onSourcesAttached(com.intellij.openapi.project.Project,java.lang.Class,com.intellij.lang.Language,Z,J):V
f:com.intellij.openapi.externalSystem.statistics.ExternalSystemStatUtilKt
- sf:addExternalSystemId(com.intellij.internal.statistic.eventLog.FeatureUsageData,com.intellij.openapi.externalSystem.model.ProjectSystemId):V
- sf:anonymizeSystemId(com.intellij.openapi.externalSystem.model.ProjectSystemId):java.lang.String
- sf:findPluginInfoBySystemId(com.intellij.openapi.externalSystem.model.ProjectSystemId):com.intellij.internal.statistic.utils.PluginInfo
- sf:getAnonymizedSystemId(com.intellij.openapi.externalSystem.model.ProjectSystemId):java.lang.String
- sf:importActivityStarted(com.intellij.openapi.project.Project,com.intellij.openapi.externalSystem.model.ProjectSystemId,kotlin.jvm.functions.Function0):com.intellij.internal.statistic.StructuredIdeActivity
e:com.intellij.openapi.externalSystem.statistics.ExternalSystemTaskId
- java.lang.Enum
- sf:ExecuteTask:com.intellij.openapi.externalSystem.statistics.ExternalSystemTaskId
- sf:ResolveProject:com.intellij.openapi.externalSystem.statistics.ExternalSystemTaskId
- s:getEntries():kotlin.enums.EnumEntries
- s:valueOf(java.lang.String):com.intellij.openapi.externalSystem.statistics.ExternalSystemTaskId
- s:values():com.intellij.openapi.externalSystem.statistics.ExternalSystemTaskId[]
f:com.intellij.openapi.externalSystem.statistics.ExternalSystemUsageFields
- sf:INSTANCE:com.intellij.openapi.externalSystem.statistics.ExternalSystemUsageFields
- f:getJRE_TYPE_FIELD():com.intellij.internal.statistic.eventLog.events.EnumEventField
- f:getJreType(java.lang.String):com.intellij.openapi.externalSystem.statistics.JreType
- f:getJreVersion(com.intellij.openapi.project.Project,java.lang.String):java.lang.String
f:com.intellij.openapi.externalSystem.statistics.HasSharedSourcesUtil
- sf:INSTANCE:com.intellij.openapi.externalSystem.statistics.HasSharedSourcesUtil
- sf:hasSharedSources(com.intellij.openapi.project.Project):Z
- sf:setHasSharedSources(com.intellij.openapi.project.Project,Z):V
e:com.intellij.openapi.externalSystem.statistics.JreType
- java.lang.Enum
- sf:CUSTOM:com.intellij.openapi.externalSystem.statistics.JreType
- sf:EMPTY:com.intellij.openapi.externalSystem.statistics.JreType
- sf:USE_INTERNAL_JAVA:com.intellij.openapi.externalSystem.statistics.JreType
- sf:USE_JAVA_HOME:com.intellij.openapi.externalSystem.statistics.JreType
- sf:USE_PROJECT_JDK:com.intellij.openapi.externalSystem.statistics.JreType
- f:getDescription():java.lang.String
- s:getEntries():kotlin.enums.EnumEntries
- s:valueOf(java.lang.String):com.intellij.openapi.externalSystem.statistics.JreType
- s:values():com.intellij.openapi.externalSystem.statistics.JreType[]
f:com.intellij.openapi.externalSystem.statistics.ProjectImportCollector
- sf:ADDED_MODULES:com.intellij.internal.statistic.eventLog.events.RoundedIntEventField
- sf:IMPORT_ACTIVITY:com.intellij.internal.statistic.IdeActivityDefinition
- sf:IMPORT_STAGE:com.intellij.internal.statistic.IdeActivityDefinition
- sf:INCREMENTAL_MODE:com.intellij.internal.statistic.eventLog.events.EnumEventField
- sf:INSTANCE:com.intellij.openapi.externalSystem.statistics.ProjectImportCollector
- sf:LINKED_PROJECTS:com.intellij.internal.statistic.eventLog.events.IntEventField
- sf:PLUGIN_RESOLVE_PROCESS:com.intellij.internal.statistic.IdeActivityDefinition
- sf:PREIMPORT_ACTIVITY:com.intellij.internal.statistic.IdeActivityDefinition
- sf:PROJECT_CONFIGURATION_STAGE:com.intellij.internal.statistic.IdeActivityDefinition
- sf:READ_STAGE:com.intellij.internal.statistic.IdeActivityDefinition
- sf:REAPPLY_MODEL_ACTIVITY:com.intellij.internal.statistic.IdeActivityDefinition
- sf:RESOLVED_DEPENDENCIES:com.intellij.internal.statistic.eventLog.events.PrimitiveEventField
- sf:RESOLVED_DEPS_PERCENT:com.intellij.internal.statistic.eventLog.events.FloatEventField
- sf:RESOLVE_STAGE:com.intellij.internal.statistic.IdeActivityDefinition
- sf:ROOT_PROJECTS:com.intellij.internal.statistic.eventLog.events.IntEventField
- sf:SUBMODULES_COUNT:com.intellij.internal.statistic.eventLog.events.RoundedIntEventField
- sf:TASK_CLASS:com.intellij.internal.statistic.eventLog.events.ClassEventField
- sf:WORKSPACE_APPLY_STAGE:com.intellij.internal.statistic.IdeActivityDefinition
- f:getGROUP():com.intellij.internal.statistic.eventLog.EventLogGroup
- getGroup():com.intellij.internal.statistic.eventLog.EventLogGroup
e:com.intellij.openapi.externalSystem.statistics.ProjectImportCollector$IncrementalMode
- java.lang.Enum
- sf:INCREMENTAL:com.intellij.openapi.externalSystem.statistics.ProjectImportCollector$IncrementalMode
- sf:NON_INCREMENTAL:com.intellij.openapi.externalSystem.statistics.ProjectImportCollector$IncrementalMode
- sf:PARTIALLY_INCREMENTAL:com.intellij.openapi.externalSystem.statistics.ProjectImportCollector$IncrementalMode
- s:getEntries():kotlin.enums.EnumEntries
- s:valueOf(java.lang.String):com.intellij.openapi.externalSystem.statistics.ProjectImportCollector$IncrementalMode
- s:values():com.intellij.openapi.externalSystem.statistics.ProjectImportCollector$IncrementalMode[]
f:com.intellij.openapi.externalSystem.statistics.SystemIdValidationRule
- com.intellij.internal.statistic.eventLog.validator.rules.FUSRule
- com.intellij.internal.statistic.eventLog.validator.rules.PerformanceCareRule
- com.intellij.internal.statistic.eventLog.validator.rules.impl.UtilValidationRule
- <init>():V
- getRuleId():java.lang.String
a:com.intellij.openapi.externalSystem.util.AbstractCrcCalculator
- com.intellij.openapi.externalSystem.util.ExternalSystemCrcCalculator
- <init>():V
@@ -2476,8 +2364,6 @@ com.intellij.openapi.externalSystem.util.ExternalSystemSettingsControl
- reset(com.intellij.openapi.project.Project):V
- a:showUi(Z):V
- a:validate(java.lang.Object):Z
f:com.intellij.openapi.externalSystem.util.ExternalSystemSyncScopeKt
- sf:ExternalSystemSync:com.intellij.platform.diagnostic.telemetry.Scope
com.intellij.openapi.externalSystem.util.ExternalSystemTaskUnderProgress
- a:execute(com.intellij.openapi.progress.ProgressIndicator):V
- s:executeTaskUnderProgress(com.intellij.openapi.project.Project,java.lang.String,com.intellij.openapi.externalSystem.service.execution.ProgressExecutionMode,com.intellij.openapi.externalSystem.util.ExternalSystemTaskUnderProgress):V

View File

@@ -1,14 +0,0 @@
com/intellij/internal/statistic/IdeActivityDefinition
com/intellij/internal/statistic/StructuredIdeActivity
com/intellij/internal/statistic/eventLog/FeatureUsageData
com/intellij/internal/statistic/eventLog/events/ClassEventField
com/intellij/internal/statistic/eventLog/events/EnumEventField
com/intellij/internal/statistic/eventLog/events/FloatEventField
com/intellij/internal/statistic/eventLog/events/IntEventField
com/intellij/internal/statistic/eventLog/events/PrimitiveEventField
com/intellij/internal/statistic/eventLog/events/RoundedIntEventField
com/intellij/internal/statistic/eventLog/events/StringEventField
com/intellij/internal/statistic/utils/PluginInfo
com/intellij/openapi/externalSystem/service/project/ExternalProjectsWorkspaceImpl$State
com/intellij/openapi/externalSystem/service/project/manage/ExternalProjectsDataStorage$State
com/intellij/platform/diagnostic/telemetry/Scope

View File

@@ -1,6 +1,3 @@
com/intellij/internal/statistic/eventLog/validator/rules/FUSRule
com/intellij/internal/statistic/eventLog/validator/rules/PerformanceCareRule
com/intellij/internal/statistic/eventLog/validator/rules/impl/UtilValidationRule
io/opentelemetry/api/trace/Tracer
kotlin/jvm/internal/DefaultConstructorMarker
org/apache/commons/cli/Option

View File

@@ -0,0 +1,5 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@ApiStatus.Internal
package com.intellij.openapi.externalSystem.diagnostic;
import org.jetbrains.annotations.ApiStatus;

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.externalSystem.service.project;
import com.intellij.openapi.components.*;
@@ -19,9 +19,9 @@ import java.util.function.Supplier;
* @author Vladislav.Soroka
*/
@Service(Service.Level.PROJECT)
@ApiStatus.Experimental
@ApiStatus.Internal
@State(name = "externalSubstitutions", storages = @Storage(StoragePathMacros.WORKSPACE_FILE))
public final class ExternalProjectsWorkspaceImpl implements PersistentStateComponent<ExternalProjectsWorkspaceImpl.State> {
final class ExternalProjectsWorkspaceImpl implements PersistentStateComponent<ExternalProjectsWorkspaceImpl.State> {
static final ExtensionPointName<ExternalSystemWorkspaceContributor> EP_NAME =
ExtensionPointName.create("com.intellij.externalSystemWorkspaceContributor");

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.externalSystem.service.project;
import com.intellij.openapi.externalSystem.model.project.ProjectCoordinate;
@@ -59,7 +59,7 @@ public final class ModifiableWorkspace {
private final Supplier<? extends List<Module>> myModulesSupplier;
public ModifiableWorkspace(ExternalProjectsWorkspaceImpl.State state,
ModifiableWorkspace(ExternalProjectsWorkspaceImpl.State state,
Supplier<? extends List<Module>> modulesSupplier) {
myModulesSupplier = modulesSupplier;
Set<String> existingModules = new HashSet<>();

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.externalSystem.service.project.manage;
import com.intellij.concurrency.ConcurrentCollectionFactory;
@@ -37,6 +37,7 @@ import com.intellij.util.xmlb.annotations.MapAnnotation;
import com.intellij.util.xmlb.annotations.Property;
import com.intellij.util.xmlb.annotations.XCollection;
import com.intellij.util.xmlb.annotations.XMap;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -59,6 +60,7 @@ import static com.intellij.openapi.externalSystem.model.ProjectKeys.PROJECT;
*/
@Service(Service.Level.PROJECT)
@State(name = "ExternalProjectsData", storages = @Storage(StoragePathMacros.WORKSPACE_FILE))
@ApiStatus.Internal
public final class ExternalProjectsDataStorage extends SimpleModificationTracker
implements SettingsSavingComponentJavaAdapter, PersistentStateComponent<ExternalProjectsDataStorage.State> {
private static final Logger LOG = Logger.getInstance(ExternalProjectsDataStorage.class);

View File

@@ -0,0 +1,5 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@ApiStatus.Internal
package com.intellij.openapi.externalSystem.statistics;
import org.jetbrains.annotations.ApiStatus;

View File

@@ -1,7 +0,0 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.externalSystem.util
import com.intellij.platform.diagnostic.telemetry.Scope
@JvmField
val ExternalSystemSync: Scope = Scope("external-system-sync")