void () { refreshChanges(); // first time new changes are detected and added to _IDEA_ changeslist changeListManager.ensureUpToDate(); // and on the same thread a request is put for files addition; // so stay here for 2nd cycle and wait for native addition completion }