int (@NotNull final ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); final IElementType elType = child.getElementType(); if (elType == JavaElementType.TYPE_PARAMETER) { return ChildRole.TYPE_PARAMETER_IN_LIST; } else if (elType == JavaTokenType.COMMA) { return ChildRole.COMMA; } else if (elType == JavaTokenType.LT) { return ChildRole.LT_IN_TYPE_LIST; } else if (elType == JavaTokenType.GT) { return ChildRole.GT_IN_TYPE_LIST; } else { return ChildRoleBase.NONE; } }