private void addMigLayoutLayoutConstraints(LC lc) {
    myProperties.add(new PropertyBean("MigLayout layout constraints", lcConstraintToString(lc)));
    UnitValue[] insets = lc.getInsets();
    if (insets != null) {
      List<String> insetsText = ContainerUtil.map(insets, (i) -> unitValueToString(i));
      myProperties.add(new PropertyBean("  lc.insets", "[" + StringUtil.join(insetsText, ", ") + "]"));
    }
    UnitValue alignX = lc.getAlignX();
    UnitValue alignY = lc.getAlignY();
    if (alignX != null || alignY != null) {
      myProperties.add(new PropertyBean("  lc.align", "x: " + unitValueToString(alignX) + "; y: " + unitValueToString(alignY)));
    }
    BoundSize width = lc.getWidth();
    BoundSize height = lc.getHeight();
    if (width != BoundSize.NULL_SIZE || height != BoundSize.NULL_SIZE) {
      myProperties.add(new PropertyBean("  lc.size", "width: " + boundSizeToString(width) + "; height: " + boundSizeToString(height)));
    }
    BoundSize gridX = lc.getGridGapX();
    BoundSize gridY = lc.getGridGapY();
    if (gridX != null || gridY != null) {
      myProperties.add(new PropertyBean("  lc.gridGap", "x: " + boundSizeToString(gridX) + "; y: " + boundSizeToString(gridY)));
    }
    boolean fillX = lc.isFillX();
    boolean fillY = lc.isFillY();
    if (fillX || fillY) {
      myProperties.add(new PropertyBean("  lc.fill", "x: " + fillX + "; y: " + fillY));
    }
    BoundSize packWidth = lc.getPackWidth();
    BoundSize packHeight = lc.getPackHeight();
    if (packWidth != BoundSize.NULL_SIZE || packHeight != BoundSize.NULL_SIZE) {
      myProperties.add(new PropertyBean("  lc.pack", "width: " + packWidth + "; height: " + packHeight +
                                                     "; widthAlign: " + lc.getPackWidthAlign() +
                                                     "; heightAlign: " + lc.getPackHeightAlign()));
    }
  }
private void addMigLayoutLayoutConstraints(LC lc)