Annotation Type MayBeUninitialized

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean hasSize
      Indicate that the collection may be uninitialized but always has a size.
    • Element Detail

      • hasSize

        boolean hasSize
        Indicate that the collection may be uninitialized but always has a size.

        This means that Collection.size() and Collection.isEmpty() will work as usual.

        Default:
        false