protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition extends AgentBuilder.RedefinitionStrategy.Collector
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition, AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation, AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator
types
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, include
protected 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.Collector
doApply
in class AgentBuilder.RedefinitionStrategy.Collector
instrumentation
- 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.