Package net.bytebuddy.description.type
Interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate
-
- All Known Implementing Classes:
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate,AgentBuilder.DescriptionStrategy.SuperTypeLoading.UnlockingClassLoadingDelegate,TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple
- Enclosing class:
- TypeDescription.SuperTypeLoading
public static interface TypeDescription.SuperTypeLoading.ClassLoadingDelegateA class loading delegate is responsible for resolving a type given a class loader and a type name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypeDescription.SuperTypeLoading.ClassLoadingDelegate.SimpleA simple class loading delegate that simply loads a type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>load(java.lang.String name, java.lang.ClassLoader classLoader)Loads a type.
-
-
-
Method Detail
-
load
java.lang.Class<?> load(java.lang.String name, java.lang.ClassLoader classLoader) throws java.lang.ClassNotFoundExceptionLoads a type.- Parameters:
name- The type's name,classLoader- The class loader to load the type from which might benullto represent the bootstrap class loader.- Returns:
- The loaded type.
- Throws:
java.lang.ClassNotFoundException- If the type could not be found.
-
-