Primarily for adding properties, and making objects that can be inherited from (unlike primitives). This is a great answer with even more cases:
I personally would never expect a property which is treated as a string. That's what POJOs are for, but that is just opinion I guess. still weird they let you do this.
> and making objects that can be inherited from (unlike primitives).
I mean the SO gives an example of how to do it but I would still love to see some place where this is needed or even pragmatic to any degree.