@NotNull public ModalityState getCurrentModalityState() { Object[] entities = LaterInvocator.getCurrentModalEntities(); return entities.length > 0 ? new ModalityStateEx(entities) : getNoneModalityState(); }
@Override public Object[] getCurrentModalEntities() { return LaterInvocator.getCurrentModalEntities(); }