@HashCodeAndEqualsPlugin.Enhance protected static class AgentBuilder.DescriptionStrategy.SuperTypeLoading.UnlockingClassLoadingDelegate extends Object implements TypeDescription.SuperTypeLoading.ClassLoadingDelegate
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple
Modifier | Constructor and Description |
---|---|
protected |
UnlockingClassLoadingDelegate(AgentBuilder.CircularityLock circularityLock)
Creates an unlocking class loading delegate.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
load(String name,
ClassLoader classLoader)
Loads a type.
|
protected UnlockingClassLoadingDelegate(AgentBuilder.CircularityLock circularityLock)
circularityLock
- The circularity lock to unlock.public Class<?> load(String name, ClassLoader classLoader) throws ClassNotFoundException
load
in interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate
name
- The type's name,classLoader
- The class loader to load the type from which might be null
to represent the bootstrap class loader.ClassNotFoundException
- If the type could not be found.Copyright © 2014–2020. All rights reserved.