protected static class AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation extends Object implements Implementation
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.Appender
An appender for implementing a bridge method for a lambda expression.
|
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target| Modifier | Constructor and Description |
|---|---|
protected |
BridgeMethodImplementation(String lambdaMethodName,
JavaConstant.MethodType lambdaMethod)
Creates a new bridge method implementation for a lambda expression.
|
| Modifier and Type | Method and Description |
|---|---|
ByteCodeAppender |
appender(Implementation.Target implementationTarget)
Creates a byte code appender that determines the implementation of the instrumented type's methods.
|
boolean |
equals(Object other) |
int |
hashCode() |
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
String |
toString() |
protected BridgeMethodImplementation(String lambdaMethodName, JavaConstant.MethodType lambdaMethod)
lambdaMethodName - The name of the lambda expression's functional method.lambdaMethod - The actual type of the lambda expression's functional method.public ByteCodeAppender appender(Implementation.Target implementationTarget)
Implementationappender in interface ImplementationimplementationTarget - The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType).public InstrumentedType prepare(InstrumentedType instrumentedType)
InstrumentedType.Prepareableprepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.Copyright © 2014–2016. All rights reserved.