Annotation Interface FixedLength


@Retention(RUNTIME) @Target(FIELD) public @interface FixedLength
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int @NotNull []
    int array containing the fixed length(s)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    @NotNull Class<?> @NotNull []
    Class array containing the element types
  • Element Details

    • value

      int @NotNull [] value
      int array containing the fixed length(s)
    • elementTypes

      @NotNull @NotNull Class<?> @NotNull [] elementTypes
      Class array containing the element types
      Default:
      {de.linusdev.lutils.struct.abstracts.Structure.class}