PsiElement () { PsiClass containingClass = getContainingClass(); if (containingClass != null) { PsiField originalField = ((PsiClass)containingClass.getOriginalElement()).findFieldByName(getName(), false); if (originalField != null) { return originalField; } } return this; }