注释接口 Immutable


@Retention(RUNTIME) @Target(TYPE) public @interface Immutable
Specifies that an interface is an immutable interface. If a top-level user interface is decorated with this annotation or org.babyfish.jimmer.sql.Entity, the Annotation Processor will generate more source code for it.
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static enum 
     
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    Default nullity of members of current annotated interface.
  • 元素详细资料

    • value

      Default nullity of members of current annotated interface.

      The immutable interface can define multiple properties, and jimmer will try its best to determine whether each property is nullable.

      If it cannot determine whether a property is nullable, it will refer to this value.

      默认值:
      NON_NULL