remove harmful suppressions

GitOrigin-RevId: f3fc94795f1037e4265e5fbc2e485b8811578036
This commit is contained in:
Alexey Kudravtsev
2023-08-03 17:48:24 +02:00
committed by intellij-monorepo-bot
parent 4edf054e13
commit 3a577a0ac1
5 changed files with 1 additions and 6 deletions

View File

@@ -99,7 +99,6 @@ public interface RefClass extends RefJavaElement, RefOverridable {
return false; return false;
} }
@SuppressWarnings({"DeprecatedIsStillUsed", "unused"})
@Deprecated(forRemoval = true) @Deprecated(forRemoval = true)
default boolean isSelfInheritor(PsiClass psiClass) { default boolean isSelfInheritor(PsiClass psiClass) {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();

View File

@@ -19,7 +19,6 @@ import java.nio.file.Path;
* *
* @see <a href="https://plugins.jetbrains.com/docs/intellij/module.html">IntelliJ Platform Docs</a> * @see <a href="https://plugins.jetbrains.com/docs/intellij/module.html">IntelliJ Platform Docs</a>
*/ */
@SuppressWarnings("DeprecatedIsStillUsed")
public interface Module extends ComponentManager, AreaInstance, Disposable { public interface Module extends ComponentManager, AreaInstance, Disposable {
/** /**
* The empty array of modules which can be reused to avoid unnecessary allocations. * The empty array of modules which can be reused to avoid unnecessary allocations.

View File

@@ -13,7 +13,6 @@ public abstract class AtomicNullableLazyValue<T> extends NullableLazyValue<T> {
/** @deprecated please use {@link NullableLazyValue#atomicLazyNullable} instead */ /** @deprecated please use {@link NullableLazyValue#atomicLazyNullable} instead */
@ApiStatus.ScheduledForRemoval @ApiStatus.ScheduledForRemoval
@Deprecated @Deprecated
@SuppressWarnings("DeprecatedIsStillUsed")
protected AtomicNullableLazyValue() { } protected AtomicNullableLazyValue() { }
@Override @Override

View File

@@ -20,7 +20,6 @@ public abstract class NotNullLazyValue<T> implements Supplier<T> {
/** @deprecated Use {@link NotNullLazyValue#lazy(Supplier)} */ /** @deprecated Use {@link NotNullLazyValue#lazy(Supplier)} */
@ApiStatus.ScheduledForRemoval @ApiStatus.ScheduledForRemoval
@Deprecated @Deprecated
@SuppressWarnings("DeprecatedIsStillUsed")
protected NotNullLazyValue() { } protected NotNullLazyValue() { }
protected abstract @NotNull T compute(); protected abstract @NotNull T compute();

View File

@@ -12,8 +12,7 @@ public abstract class VolatileNullableLazyValue<T> extends NullableLazyValue<T>
/** @deprecated please use {@link NullableLazyValue#volatileLazyNullable} instead */ /** @deprecated please use {@link NullableLazyValue#volatileLazyNullable} instead */
@ApiStatus.ScheduledForRemoval @ApiStatus.ScheduledForRemoval
@Deprecated @Deprecated
@SuppressWarnings("DeprecatedIsStillUsed") VolatileNullableLazyValue() { }
protected VolatileNullableLazyValue() { }
@Override @Override
@SuppressWarnings("DuplicatedCode") @SuppressWarnings("DuplicatedCode")