EntryPointsManager () { EntryPointsManager entryPointsManager = myEntryPointsManager; if (entryPointsManager == null) { final Project project = myRefManager.getProject(); myEntryPointsManager = entryPointsManager = new EntryPointsManagerBase(project) { @Override public void configureAnnotations() { } }; Disposer.register(project, entryPointsManager); ((EntryPointsManagerBase)entryPointsManager).addAllPersistentEntries(EntryPointsManagerBase.getInstance(project)); } return entryPointsManager; }