How to access Variable annotations? #1070
-
This question is not specific to Kotlin poet but about javax & Kotlin Metadata
wanted result:
but currently able to generate it
I want access @JSON (or @SerializedName) annotation and its value, how do I get it? then Using Kotlin poet to class with this string init. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This would be a better question for stackoverflow. As you mentioned, this is not specific to KotlinPoet. |
Beta Was this translation helpful? Give feedback.
This would be a better question for stackoverflow. As you mentioned, this is not specific to KotlinPoet.