PsiElement (XmlElement attributeValue, String value) { PsiElement declaration = super.getValueDeclaration(attributeValue, value); if (declaration == null && !myExhaustiveEnum) { return getDeclaration(); } return declaration; }