ClassFile.ClassHierarchyResolverOption , StackMapTableAttribute
| Modifier and Type | Class and Description |
|---|---|
| public static interface | ClassHierarchyResolver.
Information about a resolved class. |
| Modifier and Type | Method and Description |
|---|---|
| public default ClassHierarchyResolver | Returns: aClassHierarchyResolver that caches class hierarchy
information from this resolverthe factory for the cache cacheFactoryReturns a |
| public default ClassHierarchyResolver | Returns: aClassHierarchyResolver that caches class hierarchy
information from this resolverReturns a |
| public static ClassHierarchyResolver | Returns: the default instance ofClassHierarchyResolver that
gets ClassHierarchyInfo from system class loader with reflectionReturns the default instance of |
| public ClassHierarchyResolver. | Returns: theClassHierarchyInfo for a given class name, or null if the name is unknown to the resolverdescriptor of the class classDesc)Returns the |
| public static ClassHierarchyResolver | Returns: aClassHierarchyResolver that extracts class hierarchy
information from collections of class hierarchy metadataa collection of classes known to be interfaces interfaces, Map<ClassDesc, ClassDesc> a map from classes to their super classes classToSuperClass)Returns a |
| public static ClassHierarchyResolver | Returns: aClassHierarchyResolver that extracts class hierarchy
information via classes loaded by a class loader with reflectionthe class loader loader)Returns a |
| public static ClassHierarchyResolver | Returns: aClassHierarchyResolver that extracts class hierarchy
information via classes accessible to a MethodHandles.
with reflectionthe lookup, must be able to access classes to resolve lookupReturns a |
| public static ClassHierarchyResolver | Returns: aClassHierarchyResolver that extracts class hierarchy
information from class files returned by a mapping functionmaps class descriptors to classStreamResolver)class file input streamsReturns a |
| public static ClassHierarchyResolver | Returns: aClassHierarchyResolver that extracts class hierarchy
information from class files located by a class loaderthe class loader, to find class files loader)Returns a |
| public default ClassHierarchyResolver | Returns: the chained resolverthe other resolver other)Chains this |
| cached | back to summary |
|---|---|
| public default ClassHierarchyResolver cached(Supplier<Map<ClassDesc, ClassHierarchyResolver. Returns a Implementation Specification The default implementation returns a resolver holding an instance of the
cache map provided by the
| |
| cached | back to summary |
|---|---|
| public default ClassHierarchyResolver cached() Returns a MethodHandles.Lookup lookup = ...; ClassHierarchyResolver resolver = ClassHierarchyResolver.ofClassLoading(lookup).cached(); Implementation Specification The default implementation calls
| |
| defaultResolver | back to summary |
|---|---|
| public static ClassHierarchyResolver defaultResolver() Returns the default instance of
| |
| getClassInfo | back to summary |
|---|---|
| public ClassHierarchyResolver. Returns the This method is called by the Class-File API to obtain the hierarchy information of a class or interface; users should not call this method. The symbolic descriptor passed by the Class-File API always represents a class or interface.
| |
| of | back to summary |
|---|---|
| public static ClassHierarchyResolver of(Collection<ClassDesc> interfaces, Map<ClassDesc, ClassDesc> classToSuperClass) Returns a
| |
| ofClassLoading | back to summary |
|---|---|
| public static ClassHierarchyResolver ofClassLoading(ClassLoader loader) Returns a
| |
| ofClassLoading | back to summary |
|---|---|
| public static ClassHierarchyResolver ofClassLoading(MethodHandles. Returns a
| |
| ofResourceParsing | back to summary |
|---|---|
| public static ClassHierarchyResolver ofResourceParsing(Function<ClassDesc, InputStream> classStreamResolver) Returns a
| |
| ofResourceParsing | back to summary |
|---|---|
| public static ClassHierarchyResolver ofResourceParsing(ClassLoader loader) Returns a
| |
| orElse | back to summary |
|---|---|
| public default ClassHierarchyResolver orElse(ClassHierarchyResolver other) Chains this Implementation Specification The default implementation returns resolver implemented to query
| |
| Modifier and Type | Method and Description |
|---|---|
| public static ClassHierarchyResolver. | |
| public static ClassHierarchyResolver. |
| ofClass | back to summary |
|---|---|
| public static ClassHierarchyResolver. Indicates that a class is a declared class, with the specific given super class.
| |
| ofInterface | back to summary |
|---|---|
| public static ClassHierarchyResolver. Indicates that a class is an interface.
| |