Package com.palantir.ptoss.cinch.core
Annotation Type NotBindable
-
@Retention(RUNTIME) @Target(FIELD) public @interface NotBindableMarks the annotated field as not bindable. In Cinch, all bindable fields are required to be markedfinal. In fact, if aBindableModelhas a field that is not markedfinal, a runtime error will during the call toBindings.bind(Object). To allowBindableModels to have non-final fields, mark those fields with this annotation.It can be thought of as similar to
SuppressWarningsas a way to force the coder to explicitly specify intention when doing something dangerous.