|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Conditionally is a restriction modifier that indicates that an
objects may meet set of restrictions depending on some condition.Restriction that denotes that the return value of a method is always
the same object.EnforceRestrictions is a directive for automated annotation processors,
indicating that Restrictions in the annotated element and its
descendants must be processed
This annotation is incompatible with IgnoreRestrictions - an element
must not be annotated with IgnoreRestrictions and
EnforceRestrictions at the same timeIgnoreRestrictions is a directive for automated annotation
processors, indicating that Restrictions in the annotated element and
its descendants must not be processed
This annotation is incompatible with EnforceRestrictions - an element
must not be annotated with IgnoreRestrictions and
EnforceRestrictions at the same timeImmutables are objects whose state, if any, can not be mutated in any
way.StringRestriction
meta-annotation, which defines semantics and behavior of annotations that express constraints,
and some concrete restriction annotations about serialization, unmodifiability, immutability
and value objects.Restrictions,
that impose simple constraints over the annotated element, like
NonNull,
Positive, etc.EnforceRestrictions
and IgnoreRestrictions directive
to instruct restrictions processing tools.Numbers and primitive
numeric types.Restrictions is a meta-annotation for annotation types that express
constraints over annotated elements.Restriction that applies to methods that have
no side effects.Restriction that applies to methods that are
referentially transparent - their invocations can be replaced by its return
value.Value annotation describes objects whose identity is not important,
but that are completely described by its state instead, like Strings,
Numbers and Dates.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||