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