protected static class JavaModule.Dispatcher.Enabled.WithInstrumentationSupport extends JavaModule.Dispatcher.Enabled
java.lang.Module API and that supports Instrumentation.JavaModule.Dispatcher.Enabled.WithInstrumentationSupport, JavaModule.Dispatcher.Enabled.WithoutInstrumentationSupportJavaModule.Dispatcher.CreationAction, JavaModule.Dispatcher.Disabled, JavaModule.Dispatcher.Enabled| Modifier | Constructor and Description |
|---|---|
protected |
WithInstrumentationSupport(Method getModule,
Method getClassLoader,
Method isNamed,
Method getName,
Method getResourceAsStream,
Method isExported,
Method isOpened,
Method canRead,
Method isModifiableModule,
Method redefineModule)
Creates an enabled dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
void |
modify(Instrumentation instrumentation,
Object source,
Set<Object> reads,
Map<String,Set<Object>> exports,
Map<String,Set<Object>> opens,
Set<Class<?>> uses,
Map<Class<?>,List<Class<?>>> provides) |
canRead, getClassLoader, getName, getResourceAsStream, isAlive, isExported, isNamed, isOpened, moduleOfprotected WithInstrumentationSupport(Method getModule, Method getClassLoader, Method isNamed, Method getName, Method getResourceAsStream, Method isExported, Method isOpened, Method canRead, Method isModifiableModule, Method redefineModule)
getModule - The java.lang.Class#getModule() method.getClassLoader - The java.lang.Module#getClassLoader() method.isNamed - The java.lang.Module#isNamed() method.getName - The java.lang.Module#getName() method.getResourceAsStream - The java.lang.Module#getResourceAsStream(String) method.isExported - The java.lang.Module#isExported(String,Module) method.isOpened - The java.lang.Module#isOpened(String,Module) method.canRead - The java.lang.Module#canRead(Module) method.isModifiableModule - The java.lang.instrument.Instrumentation#isModifiableModule method.redefineModule - The java.lang.instrument.Instrumentation#redefineModule method.Copyright © 2014–2020. All rights reserved.