Annotation Type Shared


@Target(TYPE_USE) @Retention(RUNTIME) public @interface Shared

Indicates that returned object is one and the same instance with changed state and is shared between method calls.

Generally, any element annotated with this annotation provides a detachCopy method to create an independent copy of that element.