void () { Runnable runnable; synchronized (this) { runnable = myRunnable; } if (runnable != null){ try { runnable.run(); } catch (IndexNotReadyException ignored) { } CodeFoldingPass.clearFirstTimeFlag(myFile, myEditor, THE_FIRST_TIME_KEY); } }