protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition extends AgentBuilder.RedefinitionStrategy.Collector
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition, AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation, AgentBuilder.RedefinitionStrategy.Collector.PrependableIteratorcircularityLock, listener, locationStrategy, types| Modifier | Constructor and Description |
|---|---|
protected |
ForRedefinition(AgentBuilder.RawMatcher matcher,
AgentBuilder.PoolStrategy poolStrategy,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.DescriptionStrategy descriptionStrategy,
AgentBuilder.Listener listener,
AgentBuilder.FallbackStrategy fallbackStrategy,
AgentBuilder.CircularityLock circularityLock)
Creates a new collector for redefinition.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doApply(Instrumentation instrumentation,
List<Class<?>> types)
Applies this collector.
|
apply, considerprotected ForRedefinition(AgentBuilder.RawMatcher matcher, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.Listener listener, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.CircularityLock circularityLock)
matcher - The matcher to identify what types to redefine.poolStrategy - The pool strategy to use.locationStrategy - The location strategy to use.descriptionStrategy - The description strategy for resolving type descriptions for types.listener - The listener to notify on transformations.fallbackStrategy - The fallback strategy to apply.circularityLock - The circularity lock to use.protected void doApply(Instrumentation instrumentation, List<Class<?>> types) throws UnmodifiableClassException, ClassNotFoundException
AgentBuilder.RedefinitionStrategy.CollectordoApply in class AgentBuilder.RedefinitionStrategy.Collectorinstrumentation - The instrumentation instance to apply the transformation for.types - The types of the current patch to transform.UnmodifiableClassException - If a class is not modifiable.ClassNotFoundException - If a class could not be found.Copyright © 2014–2025. All rights reserved.