Alessandro, thanks for pushing this. Frankly speaking, I don't like @CalciteField(order=42) approach. It looks like annotating the constructor parameters makes more sense, and it is more flexible. A similar case is covered in Jackson with "parameter names" module: https://github.com/FasterXML/jackson-modules-java8/tree/master/parameter-names Just in case, Java8+ can include parameter names to the reflection info in case user supplies `-parameters` option for the compiler.
>NewExpression It might indeed be a too low-level API for that. Could you please highlight which test relies on the order of constructor arguments? By the way, SQL structs rely on the order of the fields rather than field names. So it might be ok to rely on the order of the constructor arguments. Vladimir
