Uses of Interface
java.lang.classfile.ClassHierarchyResolver
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of ClassHierarchyResolverPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptiondefault ClassHierarchyResolverPREVIEW
ClassHierarchyResolver.cached()
Returns a ClassHierarchyResolver that caches class hierarchy information from this resolver.default ClassHierarchyResolverPREVIEW
ClassHierarchyResolver.cached
(Supplier<Map<ClassDesc, ClassHierarchyResolver.ClassHierarchyInfoPREVIEW>> cacheFactory) Returns a ClassHierarchyResolver that caches class hierarchy information from this resolver.ClassFile.ClassHierarchyResolverOption.classHierarchyResolver()
Returns the class hierarchy resolver.ClassHierarchyResolver.defaultResolver()
Returns the default instance of ClassHierarchyResolver that getsClassHierarchyResolver.ClassHierarchyInfo
PREVIEW from system class loader with reflection.ClassHierarchyResolver.of
(Collection<ClassDesc> interfaces, Map<ClassDesc, ClassDesc> classToSuperClass) Returns a ClassHierarchyResolver that extracts class hierarchy information from collections of class hierarchy metadataClassHierarchyResolver.ofClassLoading
(ClassLoader loader) Returns a ClassHierarchyResolver that extracts class hierarchy information via the Reflection API with a ClassLoader.ClassHierarchyResolver.ofClassLoading
(MethodHandles.Lookup lookup) Returns a ClassHierarchyResolver that extracts class hierarchy information via the Reflection API with a Lookup.ClassHierarchyResolver.ofResourceParsing
(ClassLoader loader) Returns a ClassHierarchyResolver that extracts class hierarchy information from classfiles located by a class loader.ClassHierarchyResolver.ofResourceParsing
(Function<ClassDesc, InputStream> classStreamResolver) Returns a ClassHierarchyResolver that extracts class hierarchy information from classfiles located by a mapping function.default ClassHierarchyResolverPREVIEW
ClassHierarchyResolver.orElse
(ClassHierarchyResolverPREVIEW other) Chains this ClassHierarchyResolver with another to be consulted if this resolver does not know about the specified class.Modifier and TypeMethodDescriptionClassFile.ClassHierarchyResolverOption.of
(ClassHierarchyResolverPREVIEW classHierarchyResolver) Returns an option describing the class hierarchy resolver to use when generating stack maps.default ClassHierarchyResolverPREVIEW
ClassHierarchyResolver.orElse
(ClassHierarchyResolverPREVIEW other) Chains this ClassHierarchyResolver with another to be consulted if this resolver does not know about the specified class.