protected static class ClassInjector.UsingReflection.Dispatcher.Resolved.ForJava7CapableVm extends ClassInjector.UsingReflection.Dispatcher.Resolved
ClassInjector.UsingReflection.Dispatcher.Resolved.ForJava7CapableVm, ClassInjector.UsingReflection.Dispatcher.Resolved.ForLegacyVm, ClassInjector.UsingReflection.Dispatcher.Resolved.UnsafeDispatcherClassInjector.UsingReflection.Dispatcher.CreationAction, ClassInjector.UsingReflection.Dispatcher.Faulty, ClassInjector.UsingReflection.Dispatcher.Initializable, ClassInjector.UsingReflection.Dispatcher.ResolveddefineClass, defineClassUnsafe, definePackage, findLoadedClass, getPackage, theUnsafeUNDEFINED| Modifier | Constructor and Description |
|---|---|
protected |
ForJava7CapableVm(Method findLoadedClass,
Method defineClass,
Method getPackage,
Method definePackage,
Field theUnsafe,
Method defineClassUnsafe,
Method getClassLoadingLock)
Creates a new resolved reflection store for a VM running at least Java 7.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Object |
getClassLoadingLock(ClassLoader classLoader,
String name) |
int |
hashCode() |
protected void |
onInitialization()
Invoked upon initializing methods.
|
String |
toString() |
defineClass, definePackage, findClass, getPackage, initializeprotected ForJava7CapableVm(Method findLoadedClass, Method defineClass, Method getPackage, Method definePackage, Field theUnsafe, Method defineClassUnsafe, 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).defineClassUnsafe - An instance of sun.misc.Unsafe#theUnsafe or null if it is not available.theUnsafe - An instance of sun.misc.Unsafe#defineClass(String, byte[], int, int, ClassLoader, ProtectionDomain)
or null if it is not available.public Object getClassLoadingLock(ClassLoader classLoader, String name)
protected void onInitialization()
ClassInjector.UsingReflection.Dispatcher.ResolvedonInitialization in class ClassInjector.UsingReflection.Dispatcher.Resolvedpublic boolean equals(Object object)
equals in class ClassInjector.UsingReflection.Dispatcher.Resolvedpublic int hashCode()
hashCode in class ClassInjector.UsingReflection.Dispatcher.ResolvedCopyright © 2014–2017. All rights reserved.