I would expect this macro to generate a string literal which is part of the constant pool of the class file and shouldn’t contribute that much to the actual method size. But apparently there is a similar limitation to those constants: Java with String length limit - Stack Overflow