public static interface AgentBuilder.RedefinitionStrategy.DiscoveryStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Explicit
An explicit discovery strategy that only attempts the redefinition of specific types.
|
static class |
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating
A discovery strategy that considers all loaded types supplied by
Instrumentation.getAllLoadedClasses() . |
static class |
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass
A discovery strategy that considers all loaded types supplied by
Instrumentation.getAllLoadedClasses() . |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.Iterable<java.lang.Class<?>>> |
resolve(java.lang.instrument.Instrumentation instrumentation)
Resolves an iterable of types to retransform.
|
java.lang.Iterable<java.lang.Iterable<java.lang.Class<?>>> resolve(java.lang.instrument.Instrumentation instrumentation)
instrumentation
- The instrumentation instance used for the redefinition.