public static @NotNull BalloonLayoutConfiguration create(@NotNull Notification notification,
                                                           @NotNull BalloonLayoutData layoutData,
                                                           boolean actions) {
    boolean hasTitle = notification.hasTitle();
    boolean hasContent = notification.hasContent();
    if (hasTitle && hasContent && actions) {
      return treeLines();
    }
    if (hasContent && NotificationsManagerImpl.calculateContentHeight(hasTitle || actions ? 1 : 2) < layoutData.fullHeight) {
      return treeLines();
    }
    return twoLines();
  }
public static @NotNull BalloonLayoutConfiguration create(@NotNull Notification notification,
                                                           @NotNull BalloonLayoutData layoutData,
                                                           boolean actions)