Hey!
Have you tried these annotations?
@SuppressWarnings("unused"), @SuppressWarnings({"UnusedDeclaration"}) or @SuppressWarnings({"UnusedParameters"})
a
Animesh Sahu
12/01/2020, 11:45 AM
@ChibuFirst Already said on SO:
I'm aware ofย
@file:Supress("unused")
ย but that seems to disable whole inspection in the file while I only want to disable it for the public classes and functions, and also for the whole project instead of single file.
And manually putting
@Supress
on each class/function is not that great...
๐ 1
a
Arkadii Ivanov
12/01/2020, 4:46 PM
Just use them in tests ๐
๐ 1
n
nanodeath
12/01/2020, 5:13 PM
^ not the answer you were looking for, but the answer you needed ๐