Annotation Type Immutable


  • @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Immutable
    Annotation used on classes that are immutable; that is, all public methods return the same value for the same inputs after the object has been constructed. Such objects do not need to be copied by the object copier.