public static class AgentBuilder.Default.Transformation.Resolution.Unresolved extends Object implements AgentBuilder.Default.Transformation.Resolution
AgentBuilder.Default.Transformation.Resolution.Unresolved
Modifier | Constructor and Description |
---|---|
protected |
Unresolved(TypeDescription typeDescription)
Creates a new unresolved resolution.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
apply(AgentBuilder.InitializationStrategy initializationStrategy,
ClassFileLocator classFileLocator,
AgentBuilder.TypeStrategy typeStrategy,
ByteBuddy byteBuddy,
AgentBuilder.Default.NativeMethodStrategy methodNameTransformer,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AccessControlContext accessControlContext,
AgentBuilder.Listener listener)
Transforms a type or returns
null if a type is not to be transformed. |
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isResolved()
Returns
true if this resolution represents an actual type transformation. |
String |
toString() |
protected Unresolved(TypeDescription typeDescription)
typeDescription
- The type that is not transformed.public boolean isResolved()
AgentBuilder.Default.Transformation.Resolution
true
if this resolution represents an actual type transformation. If this value is false
,
this resolution will not attempt to transform a class.isResolved
in interface AgentBuilder.Default.Transformation.Resolution
true
if this resolution attempts to transform a type, false
otherwise.public byte[] apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AccessControlContext accessControlContext, AgentBuilder.Listener listener)
AgentBuilder.Default.Transformation.Resolution
null
if a type is not to be transformed.apply
in interface AgentBuilder.Default.Transformation.Resolution
initializationStrategy
- The initialization strategy to use.classFileLocator
- The class file locator to use.typeStrategy
- The definition handler to use.byteBuddy
- The Byte Buddy instance to use.methodNameTransformer
- The method name transformer to be used.bootstrapInjectionStrategy
- The bootstrap injection strategy to be used.accessControlContext
- The access control context to be used.listener
- The listener to be invoked to inform about an applied or non-applied transformation.null
if no transformation is attempted.Copyright © 2014–2015. All rights reserved.