Package io.kaitai.struct.annotations
Annotation Type Parameter
-
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Parameter
Annotation, that applied to fields, getters or setters that represents parameter fromparamsKSY element.- Since:
- 0.9
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringdocDocumentation string attached to the parameter, specified indocKSY element.StringidOriginal identifier (idkey) fromksyfile.intindexIndex of a parameter in sequence of parameters in the type.
-
-
-
Element Detail
-
id
String id
Original identifier (idkey) fromksyfile.- Returns:
- Identifier, that can differ from parameter name, if it clash with Java reserved words. Can not be empty
-
-
-
doc
String doc
Documentation string attached to the parameter, specified indocKSY element.- Returns:
- Documentation string for parameter. If documentation is missed, returns empty string
-
-