Hi, how do I test if a Kotlin method has a specific Java annotation ?
s
Stephan Schroeder
10/27/2021, 1:08 PM
depends on if you want it in a gradle plugin (in which case, check out KSP) or from within the code, in which case you'll like want to use reflection: https://kotlinlang.org/docs/reflection.html