void () { Application app = ApplicationManager.getApplication(); VirtualFilePointerManager service = app == null ? null : app.getServiceIfCreated(VirtualFilePointerManager.class); if (service != null) { ((VirtualFilePointerManagerImpl)service).switchToUrlBasedPointers(); } }