public static interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate
Modifier and Type | Interface and Description |
---|---|
static class |
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple
A simple class loading delegate that simply loads a type.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
load(String name,
ClassLoader classLoader)
Loads a type.
|
Class<?> load(String name, @MaybeNull ClassLoader classLoader) throws ClassNotFoundException
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–2023. All rights reserved.