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 ClassLoaderThe type's class loader ornullif the type is loaded by the bootstrap loader.private final StringThe loaded type's name. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimpleClassLoadingAction(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 ornullif 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 ornullif the type is loaded by the bootstrap loader.
-
-
Method Details
-
call
- Specified by:
callin interfaceCallable<Class<?>>- Throws:
ClassNotFoundException
-