Annotation Type Immutable


  • @Retention(SOURCE)
    @Target(TYPE)
    public @interface Immutable
    Annotation given to all immutable classes. If a class has this annotation, checks can be made to ensure all fields in this class are final.