private boolean selectRepresentation(@Nullable XExpression expression) {
    boolean useMemoryView = isMemoryViewSuitable(expression);
    if (myRepresentation == null
        || useMemoryView != myRepresentation instanceof TreeTableRepresentation) {
      myRepresentation = useMemoryView ? new TreeTableRepresentation() : new TreeRepresentation();
      return true;
    }
    return false;
  }
private boolean selectRepresentation(@Nullable XExpression expression)