title: easy way to flag library functions as deprecated / forbidden in android studio
body: <p>I have a mixed Java / Kotlin project in Android studio with the usual bunch of androix libraries.</p>
  <p>Is there an easy way (short of writing custom lint/detekt/ktlint rules) to essentially deprecate certain usages of third party libraries? Assuming I have no way of actually changing the code in the library itself.</p>
  <p>For example, the library has a method <code>foo</code>, I'd like all usages of that method to be flagged and break the build.</p>