I'd be very interested into some sort of solution ...
# language-proposals
e
I'd be very interested into some sort of solution to automatically infeer a field order for reflection
🤔 1
a
hm, I guess the only way to do it is to have that information written into metadata by kotlin compiler (it actually might be already there) Java's reflection doesn't guarantee any specific order in the field array
<https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#getDeclaredFields-->
e
yeah, that one or annotation
e
@udalov, my savior 😄
the most important thing is though: is it technically possible? Becase for java this isnt..