Uses of Interface java.lang.classfile.ClassFile.Option (Java SE 25 & JDK 25)
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.Option
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

- ## Uses of ClassFile.Option in java.lang.classfile

  Subinterfaces of ClassFile.Option in java.lang.classfile
  Modifier and Type
  Interface
  Description
  `static interface`
  `ClassFile.AttributeMapperOption`
  The option describing user-defined attributes for parsing `class` files.
  `static interface`
  `ClassFile.ClassHierarchyResolverOption`
  The option describing the class hierarchy resolver to use when generating stack maps or verifying classes.
  Classes in java.lang.classfile that implement ClassFile.Option
  Modifier and Type
  Class
  Description
  `static enum`
  `ClassFile.AttributesProcessingOption`
  The option describing whether to retain or discard attributes that cannot verify their correctness after a transformation.
  `static enum`
  `ClassFile.ConstantPoolSharingOption`
  Option describing whether to extend from the original constant pool when transforming a `class` file.
  `static enum`
  `ClassFile.DeadCodeOption`
  The option describing whether to patch out unreachable code for stack map generation.
  `static enum`
  `ClassFile.DeadLabelsOption`
  The option describing whether to filter unbound labels and drop their enclosing structures if possible.
  `static enum`
  `ClassFile.DebugElementsOption`
  The option describing whether to process or discard debug `PseudoInstruction`s in the traversal of a `CodeModel` or a `CodeBuilder`.
  `static enum`
  `ClassFile.LineNumbersOption`
  The option describing whether to process or discard `LineNumber`s in the traversal of a `CodeModel` or a `CodeBuilder`.
  `static enum`
  `ClassFile.ShortJumpsOption`
  The option describing whether to automatically rewrite short jumps to equivalent instructions when necessary.
  `static enum`
  `ClassFile.StackMapsOption`
  The option describing whether to generate stack maps.
  Methods in java.lang.classfile with parameters of type ClassFile.Option
  Modifier and Type
  Method
  Description
  `static ClassFile`
  ClassFile.`of(ClassFile.Option... options)`
  Returns a context with options altered from the default.
  `ClassFile`
  ClassFile.`withOptions(ClassFile.Option... options)`
  Returns a context with altered options from this context.