Module java.base
Package java.lang.classfilePREVIEW

# Interface ClassFile.ClassHierarchyResolverOption

All Superinterfaces:
  `ClassFile.OptionPREVIEW`

Enclosing interface:
  `ClassFilePREVIEW`

public static sealed interface ClassFile.ClassHierarchyResolverOption extends ClassFile.OptionPREVIEW
`ClassHierarchyResolverOption` is a preview API of the Java platform.
Programs can only use `ClassHierarchyResolverOption` when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Option describing the class hierarchy resolver to use when generating stack maps.

Since:
  22

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ClassHierarchyResolverPREVIEW`
  `classHierarchyResolver()`
  Returns the class hierarchy resolver.
  `static ClassFile.ClassHierarchyResolverOptionPREVIEW`
  `of(ClassHierarchyResolverPREVIEW classHierarchyResolver)`
  Returns an option describing the class hierarchy resolver to use when generating stack maps.

- ## Method Details

  - ### of

    static ClassFile.ClassHierarchyResolverOptionPREVIEW of(ClassHierarchyResolverPREVIEW classHierarchyResolver)
    Returns an option describing the class hierarchy resolver to use when generating stack maps.
    Parameters:
      `classHierarchyResolver` - the resolver
    Returns:
      an option describing the class hierarchy resolver to use when generating stack maps

  - ### classHierarchyResolver

    ClassHierarchyResolverPREVIEW classHierarchyResolver()
    Returns the class hierarchy resolver.
    Returns:
      the class hierarchy resolver