How to intentionally cause a custom java compiler warning message?
问题 I\'m about to commit an ugly temporary hack in order to work around a blocking issue while we wait for an external resource to be fixed. Aside from marking it with a big scary comment and a bunch of FIXMEs, I\'d love to have the compiler throw an obvious warning message as a reminder so we don\'t forget to take this out. For example, something like: [javac] com.foo.Hacky.java:192: warning: FIXME temporary hack to work around library bug, remove me when library is fixed! Is there a way I can