LibrarySearchHelper () { if (myLibrarySearchHelper == null) { try { myLibrarySearchHelper = ApplicationManager.getApplication().instantiateClass(librarySearchClass, getPluginDescriptor()); } catch (ProcessCanceledException e) { throw e; } catch (Exception e) { Logger.getInstance(LibraryDependentToolWindow.class).error(e); return null; } } return myLibrarySearchHelper; }