@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface QiStruct
Tuple
.
A class having this annotation must add the QiField
annotation to
each of its fields, indicating the index they match in the Tuple
the
class represents.
Here is an example:
@QiStruct class Person { @QiField(0) String firstName; @QiField(1) String lastName; }
Field names are irrelevant.
Copyright © 2020. All rights reserved.