Package sc.obj

Annotation Type Constant


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface Constant
    Set on properties or getX methods to signal a constant property. Useful for eliminating binding warnings and for avoiding code-gen and listeners for values which do not change. You may want to use the final operator in Java to do the same thing. You use @Constant when you cannot change the source but want to layer on the @Constant behavior.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value  
    • Element Detail

      • value

        boolean value
        Default:
        true