boolean (PsiElement another) { if (super.isEquivalentTo(another)) return true; if (another instanceof GrLightField otherField) { return otherField.myContainingClass == myContainingClass && getName().equals(otherField.getName()); } return false; }