@Override
  public int getChildRole(@NotNull ASTNode child) {
    LOG.assertTrue(child.getTreeParent() == this);
    IElementType i = child.getElementType();
    if (i == JavaTokenType.SWITCH_KEYWORD) return ChildRole.SWITCH_KEYWORD;
    if (i == JavaTokenType.LPARENTH) return ChildRole.LPARENTH;
    if (i == JavaTokenType.RPARENTH) return ChildRole.RPARENTH;
    if (ElementType.EXPRESSION_BIT_SET.contains(child.getElementType())) return ChildRole.SWITCH_EXPRESSION;
    if (child.getElementType() == JavaElementType.CODE_BLOCK) return ChildRole.SWITCH_BODY;
    return ChildRoleBase.NONE;
  }
@Override
  public int getChildRole(@NotNull ASTNode child)