-
I'm trying to find all the methods that are annotated with Retrofit2 annotations (GET, PUT, etc). I'm using How can I get it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I would follow the same logic we have in the Specifically if you're running with Type Resolution you can access to: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer @cortinico I'm trying to enable type resolution in my detektAll task definition but have problems with the classpath: My task definition is:
|
Beta Was this translation helpful? Give feedback.
I would follow the same logic we have in the
AnnotationSuppressor
here:detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/suppressors/AnnotationSuppressor.kt
Lines 43 to 52 in 781395c
Specifically if you're running with Type Resolution you can access to:
.fqNameOrNull(bindingContext)?.toString()
…