RefManager () { RefManager refManager = myRefManager; if (refManager == null) { myRefManager = refManager = DumbService.getInstance(myProject).runReadActionInSmartMode(() -> new RefManagerImpl(myProject, myCurrentScope, this)); } return refManager; }