Top Description Methods
org.checkerframework.checker.initialization.qual

public @Interface Initialized

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:TYPE_USE, TYPE_PARAMETER
@SubtypeOf:UnknownInitialization
@DefaultQualifierInHierarchy
@DefaultFor:IMPLICIT_UPPER_BOUND, IMPLICIT_LOWER_BOUND, EXCEPTION_PARAMETER
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.checkerframework.checker.nullness.qual.NonNull, org.checkerframework.framework.qual.DefaultFor, .DefaultQualifierInHierarchy, .SubtypeOf, .TypeUseLocation

This type qualifier belongs to the freedom-before-commitment initialization tracking type-system. This type-system is not used on its own, but in conjunction with some other type-system that wants to ensure safe initialization. For instance, org.checkerframework.checker.nullness.NullnessChecker uses freedom-before-commitment to track initialization of NonNull fields.

This type qualifier indicates that the object has been fully initialized; reading fields from such objects is fully safe and yields objects of the correct type.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString