Package com.rits.cloning
Annotation Type Immutable
-
@Target(TYPE) @Retention(RUNTIME) public @interface Immutable
marks the specific class as immutable and the cloner avoids cloning it
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
subClass
by default all subclasses of the @Immutable class are not immutable.
-