org.zkoss.bind.annotation.Immutable Maven / Gradle / Ivy
/* Immutable.java
Purpose:
Description:
History:
Jan 7, 2012 12:22:59 AM, Created by henrichen
Copyright (C) 2012 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.bind.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marker annotation to indicate an immutable class (no setters).
* @author henrichen
* @author dennis
* @since 6.0.0
*/
@Target(value = { ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Immutable {
}