Package org.jetbrains.annotations

# Annotation Interface UnmodifiableView

@Documented @Retention(CLASS) @Target(TYPE_USE) public @interface UnmodifiableView
An annotation which marks a `Collection` or `Map` type as unmodifiable view. A collection or a map is unmodifiable view if any mutator methods (e.g. `Collection.add(Object)`) throw exception or have no effect. However, the content of the collection or the map may still be updated by other code.

Since:
  19.0.0
See Also:
  - `Unmodifiable`