int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == ANNOTATION_PARAMETER_LIST) { return ChildRole.PARAMETER_LIST; } else if (i == JAVA_CODE_REFERENCE) { return ChildRole.CLASS_REFERENCE; } else { return ChildRoleBase.NONE; } }