APIdia Launch Partner
Top Annotations
module java.base

Package jdk.internal.javac


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
NoPreview

The element annotated with this annotation should not be marked as a preview element.

public @interface
ParticipatesInPreview

Indicates, when declared on a module declaration, that the module participates in preview features and therefore does not need to be compiled with "--enable-preview".

public @interface
PreviewFeature

Indicates the API declaration in question is associated with a preview feature.

public @interface
Restricted

This annotation is used to mark restricted methods in the Java SE API (e.g. java.lang.foreign.MemorySegment#reinterpret(long)).