@SuppressWarnings("DeprecatedIsStillUsed")
  @Deprecated
  @ApiStatus.Internal
  @NotNull ModalityState getAnyModalityState();
@SuppressWarnings("DeprecatedIsStillUsed")
  @Deprecated
  @ApiStatus.Internal
  @NotNull ModalityState getAnyModalityState()