Not sure if this is the right place to ask about a...
# reflect
d
Not sure if this is the right place to ask about annotation processing, but is there a reason that Kotlin primary constructor property parameters don't have a proper name, or am I doing something wrong? They are all showing up to me as
arg0
,
arg1
, etc. Interestingly, if I remove the
val
, the names show up correctly 🤔 I'm just using
ExecutableElement.arguments
, and I have
javaParameters = true
, if that makes a difference edit: hmm actually it doesn't seem to have to do with removing val... it's just that one of my classes works whereas the rest don't edit2: actually, I lose parameter names unless the constructor is private and none of the parameters have annotations. i suppose I'll file a YouTrack edit3: nvm it's a JDK bug. fixed in JDK 11