PsiReferenceProvider () { try { return ApplicationManager.getApplication().instantiateClass(className, pluginDescriptor); } catch (ProcessCanceledException e) { throw e; } catch (Exception e) { Logger.getInstance(PsiReferenceProviderBean.class).error(e); } return null; }