protected static class AgentBuilder.RedefinitionStrategy.Delegate.ForRetransformation extends AgentBuilder.RedefinitionStrategy.Delegate<Class<?>>
AgentBuilder.RedefinitionStrategy.Delegate.ForRedefinition, AgentBuilder.RedefinitionStrategy.Delegate.ForRetransformationtransformation, types| Modifier | Constructor and Description |
|---|---|
protected |
ForRetransformation(AgentBuilder.Default.Transformation transformation)
Creates a new delegate for a retransformation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doApply(List<Class<?>> transformations,
Instrumentation instrumentation)
Applies a type redefinition.
|
protected Class<?> |
transform(Class<?> type,
AgentBuilder.LocationStrategy locationStrategy)
Turns a type into a transformation-ready primitive of the current redefinition process.
|
apply, consider, consider, toStringprotected ForRetransformation(AgentBuilder.Default.Transformation transformation)
transformation - The transformation to apply.protected Class<?> transform(Class<?> type, AgentBuilder.LocationStrategy locationStrategy)
AgentBuilder.RedefinitionStrategy.Delegatetransform in class AgentBuilder.RedefinitionStrategy.Delegate<Class<?>>type - The type to transform.locationStrategy - The location strategy to use.protected void doApply(List<Class<?>> transformations, Instrumentation instrumentation) throws UnmodifiableClassException
AgentBuilder.RedefinitionStrategy.DelegatedoApply in class AgentBuilder.RedefinitionStrategy.Delegate<Class<?>>transformations - The transformations to apply.instrumentation - The instrumentation instance to apply the redefinition on.UnmodifiableClassException - If a class was not modifiable.Copyright © 2014–2016. All rights reserved.