[platform] API cleanup: remove unused deprecated APIs that were scheduled for removal (IJPL-190638)

GitOrigin-RevId: 1e137282750200c582819dd262a7d2bceddf9bb3
This commit is contained in:
Nikolay Chashnikov
2025-10-13 13:25:15 +00:00
committed by intellij-monorepo-bot
parent 4d7785acca
commit 4989334b37
8 changed files with 0 additions and 53 deletions
@@ -4,7 +4,6 @@ package org.jetbrains.jps.cmdline;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.io.FileUtilRt;
import com.intellij.util.containers.FileCollectionFactory;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -64,15 +63,6 @@ public final class BuildRunner {
return myModelLoader.loadModel().getProject();
}
/**
* @deprecated please use {@link #load(MessageHandler, Path, BuildFSState)}
*/
@ApiStatus.Internal
@Deprecated(forRemoval = true)
public ProjectDescriptor load(@NotNull MessageHandler msgHandler, @NotNull File dataStorageRoot, @NotNull BuildFSState fsState) throws IOException {
return load(msgHandler, dataStorageRoot.toPath(), fsState);
}
public ProjectDescriptor load(@NotNull MessageHandler msgHandler, @NotNull Path dataStorageRoot, @NotNull BuildFSState fsState) throws IOException {
final JpsModel jpsModel = myModelLoader.loadModel();
BuildDataPaths dataPaths = new BuildDataPathsImpl(dataStorageRoot);
@@ -7,7 +7,6 @@ import com.intellij.openapi.vfs.VFileProperty;
import com.intellij.openapi.vfs.VfsUtilCore;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.vfs.VirtualFileSystem;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -25,14 +24,6 @@ public class CoreLocalVirtualFile extends VirtualFile {
private BasicFileAttributes myAttributes;
private VirtualFile[] myChildren;
/** @deprecated please use {@link #CoreLocalVirtualFile(CoreLocalFileSystem, Path)} instead */
@ApiStatus.Internal
@ApiStatus.ScheduledForRemoval
@Deprecated
public CoreLocalVirtualFile(@NotNull CoreLocalFileSystem fileSystem, @NotNull File ioFile) {
this(fileSystem, ioFile.toPath());
}
public CoreLocalVirtualFile(@NotNull CoreLocalFileSystem fileSystem, @NotNull Path file) {
myFileSystem = fileSystem;
myFile = file;
@@ -1988,7 +1988,6 @@ f:com.intellij.codeInsight.daemon.impl.ConfigureHighlightingLevelKt
- sf:getConfigureHighlightingLevelPopup(com.intellij.openapi.actionSystem.DataContext):com.intellij.openapi.ui.popup.JBPopup
f:com.intellij.codeInsight.daemon.impl.DaemonListeners
- com.intellij.openapi.Disposable
- s:canChangeFileSilently(com.intellij.psi.PsiFileSystemItem,Z):Z
- s:canChangeFileSilently(com.intellij.psi.PsiFileSystemItem,Z,com.intellij.util.ThreeState):Z
- dispose():V
f:com.intellij.codeInsight.daemon.impl.DaemonTooltipActionProvider
@@ -10,7 +10,6 @@ import com.intellij.codeInsight.multiverse.CodeInsightContexts;
import com.intellij.codeInspection.InspectionProfile;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ex.QuickFixWrapper;
import com.intellij.diagnostic.PluginException;
import com.intellij.facet.Facet;
import com.intellij.facet.FacetManager;
import com.intellij.facet.FacetManagerListener;
@@ -547,12 +546,6 @@ public final class DaemonListeners implements Disposable {
return HighlightingSessionImpl.canChangeFileSilently(file, isInContent, extensionsAllowToChangeFileSilently);
}
@Deprecated(forRemoval = true)
public static boolean canChangeFileSilently(@NotNull PsiFileSystemItem file, boolean isInContent) {
PluginException.reportDeprecatedUsage("this method", "");
return canChangeFileSilently(file, isInContent, ThreeState.UNSURE);
}
private final class MyWriteActionListener implements WriteActionListener {
@Override
public void beforeWriteActionStart(@NotNull Class<?> action) {
-1
View File
@@ -1023,7 +1023,6 @@ com.intellij.openapi.vcs.changes.ChangelistBuilder
- a:processRootSwitch(com.intellij.openapi.vfs.VirtualFile,java.lang.String):V
- a:processSwitchedFile(com.intellij.openapi.vfs.VirtualFile,java.lang.String,Z):V
- a:processUnversionedFile(com.intellij.openapi.vcs.FilePath):V
- processUnversionedFile(com.intellij.openapi.vfs.VirtualFile):V
- a:removeRegisteredChangeFor(com.intellij.openapi.vcs.FilePath):V
- a:reportAdditionalInfo(com.intellij.openapi.util.Factory):V
- a:reportAdditionalInfo(java.lang.String):V
@@ -8,7 +8,6 @@ import com.intellij.openapi.util.NlsSafe;
import com.intellij.openapi.vcs.FilePath;
import com.intellij.openapi.vcs.VcsKey;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.vcsUtil.VcsUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -42,19 +41,6 @@ public interface ChangelistBuilder {
void removeRegisteredChangeFor(final FilePath path);
/**
* Process a file that is not under version control.
*
* @param file a file to process
* @deprecated use {@link #processUnversionedFile(FilePath)} instead
*/
@Deprecated(forRemoval = true)
default void processUnversionedFile(VirtualFile file) {
if (file != null) {
processUnversionedFile(VcsUtil.getFilePath(file));
}
}
void processUnversionedFile(FilePath filePath);
/**
-1
View File
@@ -1656,7 +1656,6 @@ f:com.intellij.openapi.vcs.changes.patch.ApplyPatchAction
- <init>():V
- actionPerformed(com.intellij.openapi.actionSystem.AnActionEvent):V
- getActionUpdateThread():com.intellij.openapi.actionSystem.ActionUpdateThread
- s:showAndGetApplyPatch(com.intellij.openapi.project.Project,java.io.File):java.lang.Boolean
- s:showApplyPatch(com.intellij.openapi.project.Project,com.intellij.openapi.vfs.VirtualFile):V
- update(com.intellij.openapi.actionSystem.AnActionEvent):V
c:com.intellij.openapi.vcs.changes.patch.ApplyPatchDefaultExecutor
@@ -18,7 +18,6 @@ import com.intellij.openapi.vcs.changes.ChangeListManager;
import com.intellij.openapi.vcs.changes.CommitContext;
import com.intellij.openapi.vfs.LocalFileSystem;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.concurrency.annotations.RequiresEdt;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -81,15 +80,6 @@ public final class ApplyPatchAction extends DumbAwareAction {
ApplyPatchUtil.showApplyPatch(project, file);
}
/**
* @deprecated Use {@link ApplyPatchUtil#showAndGetApplyPatch(Project, File)} instead.
*/
@Deprecated(forRemoval = true)
@RequiresEdt
public static Boolean showAndGetApplyPatch(@NotNull Project project, @NotNull File file) {
return ApplyPatchUtil.showAndGetApplyPatch(project, file);
}
/**
* @deprecated Use {@link ApplyPatchUtil#applyContent(Project, ApplyFilePatchBase, ApplyPatchContext, VirtualFile, CommitContext, boolean, String, String)} instead.
*/