I keep trying to put @SuppressWarnings("unused") on a few class variables in my Groovy class that are unused. But it doesn't remove the warning from IntelliJ. Not sure if I have a typo or something wrong on my end.
Some short examples where it doesn't work
@SuppressWarnings("unused")
def createPot ={ handDocument ->
@SuppressWarnings("unused")publicinterface MongoDBRepository { @SuppressWarnings("unused") publicstaticfinal String JOURNAL_SAFE = "JOURNAL_SAFE" publicstaticfinal String SAFE = "SAFE" publicstaticfinal String MAJORITY = "MAJORITY" publicstaticfinal String NORMAL = "NORMAL" }
Thanks
Mark