PsiElement () { for (ClsCustomNavigationPolicy navigationPolicy : ClsCustomNavigationPolicy.EP_NAME.getExtensionList()) { try { PsiElement navigationElement = navigationPolicy.getNavigationElement(this); if (navigationElement != null) return navigationElement; } catch (IndexNotReadyException ignore) { } } try { PsiClass mirrorClass = ((ClsClassImpl)getParent()).getSourceMirrorClass(); if (mirrorClass != null) { PsiElement field = mirrorClass.findFieldByName(getName(), false); if (field != null) return field.getNavigationElement(); } } catch (IndexNotReadyException ignore) { } return this; }