@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface Immutable
This annotation documents that instances of the annotated class are immutable. This means that its state is seen to others as never being changed, even though the actual private internal state may indeed change. Therefore, in an immutable class:
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.