Interface ClassFile.ClassHierarchyResolverOption
- All Superinterfaces:
ClassFile.OptionPREVIEW
public static sealed interface ClassFile.ClassHierarchyResolverOption
extends ClassFile.OptionPREVIEW
ClassHierarchyResolverOption
is a preview API of the Java platform.
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 TypeMethodDescriptionReturns the class hierarchy resolver.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
-
ClassHierarchyResolverOption
when preview features are enabled.