https://kotlinlang.org logo
b

benny_wang

03/03/2016, 4:55 PM
one question, I write a Annotation Processor in kotlin, I define Annotation Property and use it in delegate property. I call env.getElementsAnnotatedWith(Property::class.java) in process function, and return nothing. I also fine other Annotation Command and it used for function, I can get things when I call env.getElementsAnnotatedWith(Command::class.java).