Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction
All Implemented Interfaces:
Callable<Class<?>>
Enclosing class:
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate

@Enhance protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction extends Object implements Callable<Class<?>>
A class loading action that simply loads a type.
  • Field Details

    • name

      private final String name
      The loaded type's name.
    • classLoader

      private final ClassLoader classLoader
      The type's class loader or null if the type is loaded by the bootstrap loader.
  • Constructor Details

    • SimpleClassLoadingAction

      protected SimpleClassLoadingAction(String name, ClassLoader classLoader)
      Creates a simple class loading action.
      Parameters:
      name - The loaded type's name.
      classLoader - The type's class loader or null if the type is loaded by the bootstrap loader.
  • Method Details