tschuchort
09/13/2018, 2:02 PMclass SomeClass() {
@get:GetterAnnotation
internal val x
get() = 3
}
according to the bytecode viewer, a method with the following signature is generated:
// access flags 0x11
public final getX$production_sources_for_module_com_tschuchort_kotlinelements_annotation_test_main()I
@Lcom/tschuchort/kotlinelements/GetterAnnotation;()
And I can access it with that name from a Java class in the same module. But when I use my annotation processor to inspect the ExecutableElement
of the getter it has a simpleName
of getX$annotation_test
. Why is that?