@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.Unavailable| Modifier and Type | Field and Description |
|---|---|
private java.lang.reflect.Method |
getClassLoadingLock
An instance of
ClassLoader#getClassLoadingLock(String). |
defineClass, definePackage, findLoadedClass, getPackageUNDEFINED| Modifier | Constructor and Description |
|---|---|
protected |
ForJava7CapableVm(java.lang.reflect.Method findLoadedClass,
java.lang.reflect.Method defineClass,
java.lang.reflect.Method getPackage,
java.lang.reflect.Method definePackage,
java.lang.reflect.Method getClassLoadingLock)
Creates a new resolved reflection store for a VM running at least Java 7.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getClassLoadingLock(java.lang.ClassLoader classLoader,
java.lang.String name) |
defineClass, definePackage, findClass, getPackage, initialize, isAvailable, makeprivate final java.lang.reflect.Method getClassLoadingLock
ClassLoader#getClassLoadingLock(String).protected ForJava7CapableVm(java.lang.reflect.Method findLoadedClass,
java.lang.reflect.Method defineClass,
java.lang.reflect.Method getPackage,
java.lang.reflect.Method definePackage,
java.lang.reflect.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).