Hey, I'm writing a library and I was wondering if it was possible to have an annotation or something to define the max length a String should be and if it goes over that just give an IDE warning?
I'll of course add built-in checks but I just thought this would be a little nice to have some warnings if developers go over how long the String should be.