protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition extends AgentBuilder.RedefinitionStrategy.Collector
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition, AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation, AgentBuilder.RedefinitionStrategy.Collector.PrependableIteratortypes| Modifier | Constructor and Description |
|---|---|
protected |
ForRedefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doApply(java.lang.instrument.Instrumentation instrumentation,
AgentBuilder.CircularityLock circularityLock,
java.util.List<java.lang.Class<?>> types,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.Listener listener)
Applies this collector.
|
apply, consider, consider, includeprotected void doApply(java.lang.instrument.Instrumentation instrumentation,
AgentBuilder.CircularityLock circularityLock,
java.util.List<java.lang.Class<?>> types,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.Listener listener)
throws java.lang.instrument.UnmodifiableClassException,
java.lang.ClassNotFoundException
AgentBuilder.RedefinitionStrategy.CollectordoApply in class AgentBuilder.RedefinitionStrategy.Collectorinstrumentation - The instrumentation instance to apply the transformation for.circularityLock - The circularity lock to use.types - The types of the current patch to transform.locationStrategy - The location strategy to use.listener - the listener to notify.java.lang.instrument.UnmodifiableClassException - If a class is not modifiable.java.lang.ClassNotFoundException - If a class could not be found.