@HashCodeAndEqualsPlugin.Enhance protected static class ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm extends ClassInjector.UsingReflection.Dispatcher.Direct
ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm, ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVm
ClassInjector.UsingReflection.Dispatcher.CreationAction, ClassInjector.UsingReflection.Dispatcher.Direct, ClassInjector.UsingReflection.Dispatcher.Initializable, ClassInjector.UsingReflection.Dispatcher.Unavailable, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable
defineClass, definePackage, findLoadedClass, getPackage
UNDEFINED
Modifier | Constructor and Description |
---|---|
protected |
ForJava7CapableVm(Method findLoadedClass,
Method defineClass,
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, getPackage, initialize, isAvailable, make
protected ForJava7CapableVm(Method findLoadedClass, Method defineClass, 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)
.getPackage
- An instance of ClassLoader.getPackage(String)
or ClassLoader#getDefinedPackage(String)
.definePackage
- An instance of ClassLoader.definePackage(String, String, String, String, String, String, String, URL)
.public Object getClassLoadingLock(ClassLoader classLoader, String name)
Copyright © 2014–2020. All rights reserved.