Add external annotations to Kotlin code

How can I add external annotations to Kotlin libraries?
I need this to add missing @NonNls annotations.
Adding Suppress("HardCodedStringLiteral") everywhere is not a good alternative.