Package io.kaitai.struct.annotations
Annotation Type Instance
-
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Instance
Annotation, that applied to fields, getters or setters that represents instance field frominstancesKSY element.- Since:
- 0.9
-
-
Element Detail
-
id
String id
Original identifier (idkey) fromksyfile.- Returns:
- Identifier, that can differ from instance name, if it clash with Java reserved words. Can not be empty
-
-
-
doc
String doc
Documentation string attached to the instance definition, specified indocKSY element.- Returns:
- Documentation string for an instance. If documentation is missed, returns empty string
-
-