Package net.bytebuddy.agent.builder
Class AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction
- 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 Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassLoader
The type's class loader ornull
if the type is loaded by the bootstrap loader.private final String
The loaded type's name. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SimpleClassLoadingAction
(String name, ClassLoader classLoader) Creates a simple class loading action. -
Method Summary
-
Field Details
-
name
The loaded type's name. -
classLoader
The type's class loader ornull
if the type is loaded by the bootstrap loader.
-
-
Constructor Details
-
SimpleClassLoadingAction
Creates a simple class loading action.- Parameters:
name
- The loaded type's name.classLoader
- The type's class loader ornull
if the type is loaded by the bootstrap loader.
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<Class<?>>
- Throws:
ClassNotFoundException
-