Closed coolderli closed 8 months ago
This message comes from Error Prone and is unrelated to this plugin (on the contrary, it means the plugin correctly did its job, as Error Prone was invoked during compilation).
You'll want to ask on https://groups.google.com/g/error-prone-discuss or https://github.com/google/error-prone/discussions
That being said, I think @FormatMethod
expects that all arguments following the @FormatString
be format arguments, so you'd have to move the throwable as the first argument in your overloaded constructor.
I'm using
@FormatMethod
to format my code. Should the argument be behind the format string?If I write as below, I will get an error.
The error like: