Annotation Interface UnsafeConstructor


@Documented public @interface UnsafeConstructor

Marker annotation, indicating that the annotated record constructor is Unsafe

An UnsafeConstructor constructor, if misused, could cause undefined behaviour such as buffer overflow or null pointer dereference, which could in turn cause data corruption or even crash the JVM.