Uses of Interface java.lang.classfile.ClassFile.Option (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.lang.classfile, interface: ClassFile, interface: Option

# Uses of Interface
java.lang.classfile.ClassFile.Option

Packages that use ClassFile.OptionPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

- ## Uses of ClassFile.OptionPREVIEW in java.lang.classfilePREVIEW

  Subinterfaces of ClassFile.OptionPREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `static interface`
  `ClassFile.AttributeMapperOptionPREVIEW`
  Preview.
  Option describing attribute mappers for custom attributes.
  `static interface`
  `ClassFile.ClassHierarchyResolverOptionPREVIEW`
  Preview.
  Option describing the class hierarchy resolver to use when generating stack maps.
  Classes in java.lang.classfilePREVIEW that implement ClassFile.OptionPREVIEW
  Modifier and Type
  Class
  Description
  `static enum`
  `ClassFile.AttributesProcessingOptionPREVIEW`
  Preview.
  Option describing whether to process or discard unrecognized or problematic original attributes when a class, record component, field, method or code is transformed in its exploded form.
  `static enum`
  `ClassFile.ConstantPoolSharingOptionPREVIEW`
  Preview.
  Option describing whether to preserve the original constant pool when transforming a classfile.
  `static enum`
  `ClassFile.DeadCodeOptionPREVIEW`
  Preview.
  Option describing whether to patch out unreachable code.
  `static enum`
  `ClassFile.DeadLabelsOptionPREVIEW`
  Preview.
  Option describing whether to filter unresolved labels.
  `static enum`
  `ClassFile.DebugElementsOptionPREVIEW`
  Preview.
  Option describing whether to process or discard debug elements.
  `static enum`
  `ClassFile.LineNumbersOptionPREVIEW`
  Preview.
  Option describing whether to process or discard line numbers.
  `static enum`
  `ClassFile.ShortJumpsOptionPREVIEW`
  Preview.
  Option describing whether to automatically rewrite short jumps to long when necessary.
  `static enum`
  `ClassFile.StackMapsOptionPREVIEW`
  Preview.
  Option describing whether to generate stackmaps.
  Methods in java.lang.classfilePREVIEW with parameters of type ClassFile.OptionPREVIEW
  Modifier and Type
  Method
  Description
  `static ClassFilePREVIEW`
  ClassFile.`of(ClassFile.OptionPREVIEW... options)`
  Returns a new context with options altered from the default.
  `ClassFilePREVIEW`
  ClassFile.`withOptions(ClassFile.OptionPREVIEW... options)`
  Returns a copy of the context with altered options.