Join Slack
I’m trying to make my annotation processor support both annotated Java & Kotlin classes, but usi...
# kapt
m
mannodermaus
08/25/2017, 8:39 AM
I’m trying to make my annotation processor support both annotated Java & Kotlin classes, but using a different code generation path for the latter. Is there a way to
know
that the annotated class is written in Kotlin originally? Seems like
@kotlin.Metadata
isn’t detectable from the processor’s environment. This guy has had a similar issue:
https://discuss.kotlinlang.org/t/kotlin-data-classes-inspection-from-annotation-processor/2163
🙇 1
mannodermaus
08/27/2017, 12:08 AM
Update: With Kotlin 1.1.3+,
@kotlin.Metadata
is properly advertised for processors
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by