Pattern: Forbidden annotation
Issue: -
This rule allows to set a list of forbidden annotations. This can be used to discourage the use of language annotations which do not require explicit import.
Example of incorrect code:
@@SuppressWarnings("unused")
class SomeClass()
Example of correct code:
@@Suppress("unused")
class SomeClass()