Module java.base
Package java.lang.classfilePREVIEW

# Interface ClassFile.Option

All Known Subinterfaces:
  `ClassFile.AttributeMapperOptionPREVIEW`, `ClassFile.ClassHierarchyResolverOptionPREVIEW`

All Known Implementing Classes:
  `ClassFile.AttributesProcessingOptionPREVIEW`, `ClassFile.ConstantPoolSharingOptionPREVIEW`, `ClassFile.DeadCodeOptionPREVIEW`, `ClassFile.DeadLabelsOptionPREVIEW`, `ClassFile.DebugElementsOptionPREVIEW`, `ClassFile.LineNumbersOptionPREVIEW`, `ClassFile.ShortJumpsOptionPREVIEW`, `ClassFile.StackMapsOptionPREVIEW`

Enclosing interface:
  `ClassFilePREVIEW`

public static sealed interface ClassFile.Option permits ClassFile.StackMapsOptionPREVIEW, ClassFile.DebugElementsOptionPREVIEW, ClassFile.LineNumbersOptionPREVIEW, ClassFile.AttributesProcessingOptionPREVIEW, ClassFile.ConstantPoolSharingOptionPREVIEW, ClassFile.ShortJumpsOptionPREVIEW, ClassFile.DeadCodeOptionPREVIEW, ClassFile.DeadLabelsOptionPREVIEW, ClassFile.ClassHierarchyResolverOptionPREVIEW, ClassFile.AttributeMapperOptionPREVIEW
`Option` is a preview API of the Java platform.
Programs can only use `Option` when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
An option that affects the parsing and writing of classfiles.

Since:
  22