@Retention(value=RUNTIME) @Target(value=TYPE) @Deprecated public @interface EFieldInfo
EMessage and EField. This
annotation contains the names of the serialized fields. The
field list defines the order in which fields are serialized
and de-serialized. The named fields are required to be both
public and final. The EField subclass also requires a
constructor with an argument list that matches the listed
fields both in order and data type.
The reason for this annotation is due to the fact that
Class.getFields() returns an array which
is neither sorted nor in any particular order. The annotation
defines a field order which is necessary for remote eBus
applications to successfully serialize and de-serialize
eBus messages.
For more information about message objects and their
requirements, see EMessageObject.
EMessageObject,
EMessagepublic abstract String[] fields
Copyright © 2019. All rights reserved.