int () { int result = 0; if (myElement instanceof PsiNamedElement) { String name = ((PsiNamedElement)myElement).getName(); if (name != null) { result = name.hashCode(); } } result = 31 * result + (myIsAccessible ? 1 : 0); return result; }