private static @NotNull Class<?> getToolkitClass() throws ClassNotFoundException {
    //noinspection SpellCheckingInspection
    return Class.forName("sun.lwawt.macosx.LWCToolkit");
  }
private static @NotNull Class<?> getToolkitClass()