I want developers to be able to use the function but I want them to be aware that it's not intended for use in most cases.
Is there a way to warn other developers about function. Similar to what lint does. Is there something like @Warning("Prefer using #fooo() if possible)
annotation for the method?
I want to know how to do it java or kotlin. Something similar to @Deprecated but making more sense in my context.
I want my IDE to aware of that warning too, not only compiler.