Module java.base

Interface AccessFlags

All Superinterfaces:
ClassElementPREVIEW, ClassFileElementPREVIEW, FieldElementPREVIEW, MethodElementPREVIEW

public sealed interface AccessFlags extends ClassElementPREVIEW, MethodElementPREVIEW, FieldElementPREVIEW
AccessFlags is a preview API of the Java platform.
Programs can only use AccessFlags when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models the access flags for a class, method, or field. Delivered as a ClassElementPREVIEW, FieldElementPREVIEW, or MethodElementPREVIEW when traversing the corresponding model type.
Since:
22