public static class RebaseInstrumentationTarget.Factory extends Object implements Instrumentation.Target.Factory
RebaseInstrumentationTarget
.Constructor and Description |
---|
Factory(BridgeMethodResolver.Factory bridgeMethodResolverFactory,
MethodRebaseResolver methodRebaseResolver)
Creates a new factory for creating a
RebaseInstrumentationTarget . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
Instrumentation.Target |
make(MethodLookupEngine.Finding finding)
Creates an
Instrumentation.Target for the given instrumented
type's description. |
String |
toString() |
public Factory(BridgeMethodResolver.Factory bridgeMethodResolverFactory, MethodRebaseResolver methodRebaseResolver)
RebaseInstrumentationTarget
.bridgeMethodResolverFactory
- A factory for creating a bridge method resolver.methodRebaseResolver
- A method rebase resolver to be used when calling a rebased method.public Instrumentation.Target make(MethodLookupEngine.Finding finding)
Instrumentation.Target.Factory
Instrumentation.Target
for the given instrumented
type's description.make
in interface Instrumentation.Target.Factory
finding
- The finding of a method lookup engine on analyzing the instrumented type.Instrumentation.Target
for the given type description.Copyright © 2014. All rights reserved.