diff --git a/src/main/java/io/kaitai/struct/annotations/Generated.java b/src/main/java/io/kaitai/struct/annotations/Generated.java index 9eb0406..df13074 100644 --- a/src/main/java/io/kaitai/struct/annotations/Generated.java +++ b/src/main/java/io/kaitai/struct/annotations/Generated.java @@ -92,11 +92,4 @@ * by class constructors and {@code false}, if it must be called explicitly */ boolean autoRead(); - /** - * Documentation string attached to the type definition, specified in {@code doc} - * KSY element. - * - * @return Documentation string for a type. If documentation is missed, returns empty string - */ - String doc(); } diff --git a/src/main/java/io/kaitai/struct/annotations/Instance.java b/src/main/java/io/kaitai/struct/annotations/Instance.java index 5cd20c1..40f983c 100644 --- a/src/main/java/io/kaitai/struct/annotations/Instance.java +++ b/src/main/java/io/kaitai/struct/annotations/Instance.java @@ -45,12 +45,4 @@ * Java reserved words. Can not be empty */ String id(); - /** - * Documentation string attached to the instance definition, specified in {@code doc} - * KSY element. - * - * @return Documentation string for an instance. If documentation is missed, - * returns empty string - */ - String doc(); } diff --git a/src/main/java/io/kaitai/struct/annotations/Parameter.java b/src/main/java/io/kaitai/struct/annotations/Parameter.java index c56501f..d6ae2c8 100644 --- a/src/main/java/io/kaitai/struct/annotations/Parameter.java +++ b/src/main/java/io/kaitai/struct/annotations/Parameter.java @@ -51,12 +51,4 @@ * @return 0-based index of a parameter in {@code params} KSY element */ int index(); - /** - * Documentation string attached to the parameter, specified in {@code doc} - * KSY element. - * - * @return Documentation string for parameter. If documentation is missed, - * returns empty string - */ - String doc(); } diff --git a/src/main/java/io/kaitai/struct/annotations/SeqItem.java b/src/main/java/io/kaitai/struct/annotations/SeqItem.java index ae528d2..4a41563 100644 --- a/src/main/java/io/kaitai/struct/annotations/SeqItem.java +++ b/src/main/java/io/kaitai/struct/annotations/SeqItem.java @@ -44,19 +44,11 @@ * @return Identifier, that can differ from field name, if it clash with * Java reserved words. Empty string, if attribute was unnamed */ - String id(); + String id() default ""; /** * Index of an attribute in sequence of attributes in the type. * * @return 0-based index of an attribute in {@code seq} KSY element */ int index(); - /** - * Documentation string attached to the attribute, specified in {@code doc} - * KSY element. - * - * @return Documentation string for and attribute. If documentation is missed, - * returns empty string - */ - String doc(); }