Package org.pkl.core.util
Annotation Interface LateInit
@Target(FIELD)
@Retention(RUNTIME)
@Nonnull(when=UNKNOWN)
@TypeQualifierNickname
public @interface LateInit
Indicates that the annotated field is initially
null and initialized to a non-null value
before or upon first use. Corresponds to lateinit in Kotlin (but does not result in
automatic runtime non-null checks).
Note: Fields that are initialized late to a nullable value should only be annotated with
Nullable (same as in Kotlin).