Uses of Interface
java.lang.classfile.ClassHierarchyResolver
Packages that use ClassHierarchyResolver
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of ClassHierarchyResolver in java.lang.classfile
Methods in java.lang.classfile that return ClassHierarchyResolverModifier and TypeMethodDescriptiondefault ClassHierarchyResolver
ClassHierarchyResolver.cached()
Returns aClassHierarchyResolver
that caches class hierarchy information from this resolver.default ClassHierarchyResolver
ClassHierarchyResolver.cached
(Supplier<Map<ClassDesc, ClassHierarchyResolver.ClassHierarchyInfo>> cacheFactory) Returns aClassHierarchyResolver
that caches class hierarchy information from this resolver.ClassFile.ClassHierarchyResolverOption.classHierarchyResolver()
Returns the class hierarchy resolver.static ClassHierarchyResolver
ClassHierarchyResolver.defaultResolver()
Returns the default instance ofClassHierarchyResolver
that getsClassHierarchyResolver.ClassHierarchyInfo
from system class loader with reflection.static ClassHierarchyResolver
ClassHierarchyResolver.of
(Collection<ClassDesc> interfaces, Map<ClassDesc, ClassDesc> classToSuperClass) Returns aClassHierarchyResolver
that extracts class hierarchy information from collections of class hierarchy metadata.static ClassHierarchyResolver
ClassHierarchyResolver.ofClassLoading
(ClassLoader loader) Returns aClassHierarchyResolver
that extracts class hierarchy information via classes loaded by a class loader with reflection.static ClassHierarchyResolver
ClassHierarchyResolver.ofClassLoading
(MethodHandles.Lookup lookup) Returns aClassHierarchyResolver
that extracts class hierarchy information via classes accessible to aMethodHandles.Lookup
with reflection.static ClassHierarchyResolver
ClassHierarchyResolver.ofResourceParsing
(ClassLoader loader) Returns aClassHierarchyResolver
that extracts class hierarchy information fromclass
files located by a class loader.static ClassHierarchyResolver
ClassHierarchyResolver.ofResourceParsing
(Function<ClassDesc, InputStream> classStreamResolver) Returns aClassHierarchyResolver
that extracts class hierarchy information fromclass
files returned by a mapping function.default ClassHierarchyResolver
ClassHierarchyResolver.orElse
(ClassHierarchyResolver other) Chains thisClassHierarchyResolver
with another to be consulted if this resolver does not know about the specified class.Methods in java.lang.classfile with parameters of type ClassHierarchyResolverModifier and TypeMethodDescriptionClassFile.ClassHierarchyResolverOption.of
(ClassHierarchyResolver classHierarchyResolver) Returns an option describing the class hierarchy resolver to use.default ClassHierarchyResolver
ClassHierarchyResolver.orElse
(ClassHierarchyResolver other) Chains thisClassHierarchyResolver
with another to be consulted if this resolver does not know about the specified class.