Package com.helger.commons.annotation
Annotation Type ReturnsImmutableObject
-
@Retention(CLASS) @Target(METHOD) @Documented public @interface ReturnsImmutableObject
Indicates that a method returns an immutable object (in case the returned type itself is not immutable). This is especially useful for returned containers that are not modifiable.- Author:
- Philip Helger
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-