PsiElement () { PsiElement child = getFirstChild(); if (child == null) return null; IElementType type = child.getNode().getElementType(); if (TokenSets.CODE_REFERENCE_ELEMENT_NAME_TOKENS.contains(type)) return child; return null; }