@HashCodeAndEqualsPlugin.Enhance protected static class ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm extends ClassInjector.UsingReflection.Dispatcher.Direct
ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm, ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVmClassInjector.UsingReflection.Dispatcher.CreationAction, ClassInjector.UsingReflection.Dispatcher.Direct, ClassInjector.UsingReflection.Dispatcher.Initializable, ClassInjector.UsingReflection.Dispatcher.Unavailable, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverrideClassInjector.UsingReflection.Dispatcher.Initializable.UnavailabledefineClass, definePackage, findLoadedClass, getDefinedPackage, getPackageUNDEFINED| Modifier | Constructor and Description |
|---|---|
protected |
ForJava7CapableVm(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage,
Method getClassLoadingLock)
Creates a new resolved reflection store for a VM running at least Java 7.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getClassLoadingLock(ClassLoader classLoader,
String name) |
defineClass, definePackage, findClass, getDefinedPackage, getPackage, initialize, isAvailable, makeprotected ForJava7CapableVm(Method findLoadedClass, Method defineClass, @MaybeNull Method getDefinedPackage, Method getPackage, Method definePackage, Method getClassLoadingLock)
getClassLoadingLock - An instance of ClassLoader#getClassLoadingLock(String).findLoadedClass - An instance of ClassLoader.findLoadedClass(String).defineClass - An instance of ClassLoader.defineClass(String, byte[], int, int, ProtectionDomain).getDefinedPackage - An instance of java.lang,ClassLoader#getDefinedPackage(String). May be null.getPackage - An instance of ClassLoader.getPackage(String).definePackage - An instance of ClassLoader.definePackage(String, String, String, String, String, String, String, URL).public Object getClassLoadingLock(ClassLoader classLoader, String name)
Copyright © 2014–2023. All rights reserved.