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