mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] API cleanup: remove unused deprecated API scheduled for removal (IJPL-178044)
GitOrigin-RevId: e48671fd16adff0e9777b3ff6dc61bd9482a8018
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c5ff7c4e9e
commit
4242e9b5a4
@@ -45,17 +45,6 @@ public interface PyCallable extends PyAstCallable, PyTypedElement, PyQualifiedNa
|
||||
@Nullable
|
||||
PyType getCallType(@NotNull TypeEvalContext context, @NotNull PyCallSiteExpression callSite);
|
||||
|
||||
/**
|
||||
* Please use getCallType with four arguments instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
default @Nullable PyType getCallType(@Nullable PyExpression receiver,
|
||||
@NotNull Map<PyExpression, PyCallableParameter> parameters,
|
||||
@NotNull TypeEvalContext context) {
|
||||
return getCallType(receiver, null, parameters, context);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns the type of the call to the callable where the call site is specified by the optional receiver and the arguments to parameters
|
||||
|
||||
@@ -14,7 +14,6 @@ import com.jetbrains.python.PyBundle;
|
||||
import com.jetbrains.python.debugger.PyDebugRunner;
|
||||
import com.jetbrains.python.debugger.PyLocalPositionConverter;
|
||||
import com.jetbrains.python.debugger.PyRemoteDebugProcess;
|
||||
import com.jetbrains.python.sdk.PythonSdkUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -42,17 +41,6 @@ public class PyAttachToProcessDebugRunner extends PyDebugRunner {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #PyAttachToProcessDebugRunner(Project, int, Sdk)}
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public PyAttachToProcessDebugRunner(@NotNull Project project, int pid, @Nullable String sdkPath) {
|
||||
myProject = project;
|
||||
myPid = pid;
|
||||
mySdkPath = sdkPath;
|
||||
mySdk = PythonSdkUtil.findSdkByPath(mySdkPath);
|
||||
}
|
||||
|
||||
public XDebugSession launch() throws ExecutionException {
|
||||
FileDocumentManager.getInstance().saveAllDocuments();
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package com.jetbrains.python.testing;
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link PyUnitTestFactory#id} instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public final class PythonTestConfigurationsModel {
|
||||
private PythonTestConfigurationsModel() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link PyUnitTestFactory#id} instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public static final String PYTHONS_UNITTEST_NAME = PyUnitTestFactory.id;
|
||||
}
|
||||
Reference in New Issue
Block a user