public AsciiBox changeBoxName(String newName) {
        if (!asciiBoxWriter.hasBorders(this)) {
            return asciiBoxWriter.boxString(newName, this.toString(), 0);
        }
        int minimumWidthWithNewName = (asciiBoxWriter.boxSet.upperLeftCorner + asciiBoxWriter.boxSet.horizontalLine + newName + asciiBoxWriter.boxSet.upperRightCorner).length();
        int nameLengthDifference = minimumWidthWithNewName - (asciiBoxWriter.unwrap(this).width() + asciiBoxWriter.borderWidth + asciiBoxWriter.borderWidth);
        AsciiBox asciiBox = asciiBoxWriter.boxString(newName, asciiBoxWriter.unwrap(this).toString(), this.width() + nameLengthDifference);
        asciiBox.compressedBoxSet = asciiBoxWriter.boxSet.contributeToCompressedBoxSet(this);
        return asciiBox;
    }
@return returns the lines of the box
plc4j/spi/src/main/java/org/apache/plc4x/java/spi/utils/ascii/AsciiBox.java