mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
IJPL-212619 java: mark deprecated unused API for removal
API, which was marked as deprecated in 252 or earlier and has no external and internal usages, is marked for removal. GitOrigin-RevId: 7c59d530d22550eba4b9ae0d078413f7f4d67d98
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fe46462e10
commit
50099da8cc
@@ -190,7 +190,7 @@ public abstract class DebuggerUtilsEx extends DebuggerUtils {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static ReferenceType getSuperClass(final @NotNull String baseQualifiedName, @NotNull ReferenceType checkedType) {
|
||||
if (baseQualifiedName.equals(checkedType.name())) {
|
||||
return checkedType;
|
||||
@@ -266,7 +266,7 @@ public abstract class DebuggerUtilsEx extends DebuggerUtils {
|
||||
/**
|
||||
* @deprecated Use {@link DebuggerSettingsUtils#readFilters} directly
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static ClassFilter[] readFilters(List<? extends Element> children) {
|
||||
return DebuggerSettingsUtils.readFilters(children);
|
||||
}
|
||||
@@ -274,7 +274,7 @@ public abstract class DebuggerUtilsEx extends DebuggerUtils {
|
||||
/**
|
||||
* @deprecated Use {@link DebuggerSettingsUtils#writeFilters} directly
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static void writeFilters(@NotNull Element parentNode,
|
||||
@NonNls String tagName,
|
||||
ClassFilter[] filters) throws WriteExternalException {
|
||||
|
||||
@@ -4,6 +4,7 @@ package com.intellij.debugger.impl
|
||||
import com.intellij.debugger.engine.DebugProcess
|
||||
import com.intellij.debugger.jdi.VirtualMachineProxyImpl
|
||||
import com.sun.jdi.VirtualMachine
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
object DexDebugFacility {
|
||||
fun isDex(virtualMachine: VirtualMachine): Boolean {
|
||||
@@ -11,6 +12,7 @@ object DexDebugFacility {
|
||||
}
|
||||
|
||||
@Suppress("unused")
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated("Use isDex(virtualMachine)")
|
||||
fun isDex(debugProcess: DebugProcess): Boolean {
|
||||
val virtualMachineProxy = VirtualMachineProxyImpl.getCurrent()
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import org.jetbrains.annotations.PropertyKey;
|
||||
/**
|
||||
* @deprecated use {@link ExtendsListModCommandFix}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public class ExtendsListFix extends LocalQuickFixAndIntentionActionOnPsiElement {
|
||||
// we don't modify this class
|
||||
@SafeFieldForPreview protected final @Nullable SmartPsiElementPointer<PsiClass> myClassToExtendFromPointer;
|
||||
|
||||
+2
-2
@@ -75,7 +75,7 @@ public class AddAnnotationPsiFix extends LocalQuickFixOnPsiElement implements Lo
|
||||
/**
|
||||
* @deprecated use {@link AddAnnotationModCommandAction} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public AddAnnotationPsiFix(@NotNull String fqn,
|
||||
@NotNull PsiModifierListOwner modifierListOwner,
|
||||
String @NotNull ... annotationsToRemove) {
|
||||
@@ -96,7 +96,7 @@ public class AddAnnotationPsiFix extends LocalQuickFixOnPsiElement implements Lo
|
||||
/**
|
||||
* @deprecated use {@link AddAnnotationModCommandAction} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public AddAnnotationPsiFix(@NotNull String fqn,
|
||||
@NotNull PsiModifierListOwner modifierListOwner,
|
||||
PsiNameValuePair @NotNull [] values,
|
||||
|
||||
@@ -41,7 +41,7 @@ public final class JavaProjectData extends AbstractExternalEntityData {
|
||||
/**
|
||||
* @deprecated use {@link #JavaProjectData(ProjectSystemId, String, LanguageLevel, String, List)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public JavaProjectData(
|
||||
@NotNull ProjectSystemId owner,
|
||||
@NotNull String compileOutputPath,
|
||||
|
||||
@@ -4,6 +4,7 @@ package com.intellij.lang.java.lexer;
|
||||
import com.intellij.platform.syntax.psi.lexer.LexerAdapter;
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
import com.intellij.psi.util.PsiUtil;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import static com.intellij.lang.java.syntax.JavaElementTypeConverterKt.getJavaElementTypeConverter;
|
||||
@@ -32,6 +33,7 @@ public final class JavaLexer extends LexerAdapter {
|
||||
* @return true if a given id is a keyword at a given language level
|
||||
* @deprecated use {@link PsiUtil#isSoftKeyword(CharSequence, LanguageLevel)}
|
||||
*/
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated
|
||||
public static boolean isSoftKeyword(@NotNull CharSequence id, @NotNull LanguageLevel level) {
|
||||
return PsiUtil.isSoftKeyword(id, level);
|
||||
|
||||
@@ -49,6 +49,7 @@ import com.intellij.psi.util.CachedValuesManager;
|
||||
import com.intellij.psi.util.PsiUtil;
|
||||
import com.intellij.util.indexing.IndexingDataKeys;
|
||||
import kotlin.Unit;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.PropertyKey;
|
||||
@@ -120,6 +121,7 @@ public final class JavaParserUtil {
|
||||
* @deprecated Use the new Java syntax library instead.
|
||||
* See {@link com.intellij.java.syntax.parser.JavaParser}
|
||||
*/
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated
|
||||
public static @NotNull PsiBuilder createBuilder(final LighterLazyParseableNode chameleon) {
|
||||
return createBuilder(chameleon,
|
||||
|
||||
Reference in New Issue
Block a user