mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-21 22:11:40 +07:00
API: mark for removal unused deprecated API (IJPL-275)
GitOrigin-RevId: d4f67b9700b60c8eb278ed79baaba4fa01d71fd9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
46d86804f7
commit
8856dd6264
@@ -35,7 +35,7 @@ public abstract class GroovyApplicabilityProvider {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
@Nullable
|
||||
public static Applicability checkProviders(PsiType @NotNull [] argumentTypes, @NotNull PsiMethod method) {
|
||||
return checkProviders(ContainerUtil.map(argumentTypes, JustTypeArgument::new), method);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package training.dsl
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import java.awt.Component
|
||||
import java.awt.Rectangle
|
||||
import javax.swing.JTree
|
||||
@@ -36,13 +37,17 @@ abstract class HighlightingTriggerMethods internal constructor() {
|
||||
) = Unit
|
||||
|
||||
@Deprecated("Use inline version")
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
open fun <ComponentType : Component> explicitComponentPartDetection(
|
||||
componentClass: Class<ComponentType>,
|
||||
rectangle: TaskRuntimeContext.(ComponentType) -> Rectangle?
|
||||
) = Unit
|
||||
}
|
||||
|
||||
class HighlightingTriggerMethodsWithType<ComponentType : Component> @Deprecated("Do not use directly") constructor(
|
||||
class HighlightingTriggerMethodsWithType<ComponentType : Component>
|
||||
@Deprecated("Do not use directly")
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
constructor(
|
||||
val componentClass: Class<ComponentType>,
|
||||
val parent: HighlightingTriggerMethods,
|
||||
val selector: (candidates: Collection<ComponentType>) -> ComponentType?
|
||||
|
||||
@@ -245,7 +245,7 @@ public class MavenGeneralSettings implements Cloneable {
|
||||
}
|
||||
|
||||
/** @deprecated use {@link MavenUtil} or {@link MavenWslUtil} instead */
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public @Nullable VirtualFile getEffectiveUserSettingsFile() {
|
||||
File file = getEffectiveUserSettingsIoFile();
|
||||
return file == null ? null : LocalFileSystem.getInstance().findFileByIoFile(file);
|
||||
|
||||
@@ -16,6 +16,7 @@ import com.intellij.openapi.util.text.StringUtil
|
||||
import com.jetbrains.python.PySdkBundle
|
||||
import com.jetbrains.python.packaging.*
|
||||
import com.jetbrains.python.sdk.PySdkUtil
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@Deprecated("Use Sdk.configureBuilderToRunPythonOnTarget")
|
||||
@Throws(ExecutionException::class)
|
||||
@@ -38,6 +39,7 @@ fun runConda(sdk: Sdk?, arguments: List<String>): ProcessOutput {
|
||||
|
||||
|
||||
@Deprecated("Use Sdk.configureBuilderToRunPythonOnTarget")
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Throws(ExecutionException::class)
|
||||
fun runCondaPython(condaPythonExecutable: String, arguments: List<String>): ProcessOutput {
|
||||
return run(condaPythonExecutable, arguments, PySdkUtil.activateVirtualEnv(condaPythonExecutable))
|
||||
|
||||
@@ -14,9 +14,11 @@ import com.jetbrains.python.console.PyConsoleOptions
|
||||
import com.jetbrains.python.console.getPathMapper
|
||||
import com.jetbrains.python.remote.PyRemotePathMapper
|
||||
import com.jetbrains.python.remote.PythonRemoteInterpreterManager.appendBasicMappings
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import java.nio.file.Path
|
||||
|
||||
@Deprecated("Use Path for localPath")
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
fun getTargetPathForPythonConsoleExecution(targetEnvironmentRequest: TargetEnvironmentRequest,
|
||||
project: Project,
|
||||
sdk: Sdk?,
|
||||
|
||||
@@ -32,7 +32,7 @@ public class DomFileDescription<T> {
|
||||
/**
|
||||
* @deprecated Register with {@code com.intellij.dom.fileMetaData} extension point instead.
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static final ExtensionPointName<DomFileDescription> EP_NAME = ExtensionPointName.create("com.intellij.dom.fileDescription");
|
||||
|
||||
private final Map<Class<? extends ScopeProvider>, ScopeProvider> myScopeProviders = ConcurrentFactoryMap.createMap(key -> {
|
||||
|
||||
Reference in New Issue
Block a user