public class CallSiteClassLoader
extends ClassLoaderForClassArtifacts
Class loader used when generating specialized classic call-site classes.
Prefer invokedynamic call sites for new code. Planned for deprecation/removal in a future Groovy version.
| Fields inherited from class | Fields |
|---|---|
class ClassLoaderForClassArtifacts |
klazz |
| Constructor and description |
|---|
CallSiteClassLoader(Class klazz)Creates a loader for artifacts of klazz, using that class's loader as the parent. |
| Methods inherited from class | Name |
|---|---|
class ClassLoaderForClassArtifacts |
createClassName, createClassName, define, defineClassAndGetConstructor, loadClass |
Creates a loader for artifacts of klazz, using that class's loader as the parent.
klazz - the class whose loader, name, and protection domain are capturedLoads a known call-site or meta-class type from this class's defining loader. Any other name is delegated to the superclass, and a ClassNotFoundException from that delegation is retried on this class's defining loader.
namename - the binary name to loadresolve - whether the class is linked after it is loadedCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.