Class JavaDispatcher.DynamicClassLoader.Resolver.ForModuleSystem

java.lang.Object
net.bytebuddy.utility.dispatcher.JavaDispatcher.DynamicClassLoader.Resolver.ForModuleSystem
All Implemented Interfaces:
JavaDispatcher.DynamicClassLoader.Resolver
Enclosing interface:
JavaDispatcher.DynamicClassLoader.Resolver

@Enhance public static class JavaDispatcher.DynamicClassLoader.Resolver.ForModuleSystem extends Object implements JavaDispatcher.DynamicClassLoader.Resolver
A resolver for VMs that do support the module system.
  • Field Details

    • getModule

      private final Method getModule
      The java.lang.Class#getModule method.
    • isExported

      private final Method isExported
      The java.lang.Module#isExported method.
    • addExports

      private final Method addExports
      The java.lang.Module#addExports method.
    • getUnnamedModule

      private final Method getUnnamedModule
      The java.lang.ClassLoader#getUnnamedModule method.
  • Constructor Details

    • ForModuleSystem

      protected ForModuleSystem(Method getModule, Method isExported, Method addExports, Method getUnnamedModule)
      Creates a new resolver for a VM that supports the module system.
      Parameters:
      getModule - The java.lang.Class#getModule method.
      isExported - The java.lang.Module#isExported method.
      addExports - The java.lang.Module#addExports method.
      getUnnamedModule - The java.lang.ClassLoader#getUnnamedModule method.
  • Method Details