[java] API cleanup: mark for removal and as internal deprecated API without external usages (IJPL-190638)

APIs, which were marked as deprecated in 251 or earlier and don't have external usages, are marked as internal. Also, if there are no internal usages, it's also marked for removal.

GitOrigin-RevId: ffd772fc41738cdf3bcf5a122756936383184866
This commit is contained in:
Nikolay Chashnikov
2025-10-03 23:44:30 +00:00
committed by intellij-monorepo-bot
parent 2d1c5f3960
commit 093d3214f4
14 changed files with 34 additions and 11 deletions
@@ -5,6 +5,7 @@ import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.search.GlobalSearchScope;
import com.intellij.util.indexing.StorageException;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.backwardRefs.CompilerRef;
@@ -29,7 +30,8 @@ public abstract class CompilerReferenceReader<Index extends CompilerReferenceInd
* @deprecated Use {@link #CompilerReferenceReader(Path, CompilerReferenceIndex)}
*/
@SuppressWarnings("IO_FILE_USAGE")
@Deprecated
@ApiStatus.Internal
@Deprecated(forRemoval = true)
public CompilerReferenceReader(@NotNull File buildDir, Index index) {
myIndex = index;
this.buildDir = buildDir.toPath();