Open PawelLipski opened 4 years ago
I think we can do it only with a build tool (maven/gradle).
As I know in the source code of APT you cannot set the ordering. And the order of loading annotation processors depends on the class loader implementation, it's unpredictable.
But I think this is a good point to explain in the documentation. "How to use with other annotation processors"
Not sure if that can done without a dedicated build-tool-specific plugin (for Maven/Gradle)... anyway, I'd be pretty nice if there was a way to ensure better-strings is run before other common annotation processors like https://github.com/checkstyle/checkstyle or (the very awesome) https://github.com/typetools/checker-framework. Otherwise they won't have the chance to statically verify the Java code within the interpolations.