Annotation Interface LazyValue


@Retention(CLASS) @Target(FIELD) public @interface LazyValue
A field annotated with LazyValue should not be assigned until it is used for the first time. Then, its real value should be calculated and assigned back in order to be used henceforth. LazyValue is useful for fields that are expensive to construct.

This annotation only applies to fields.