public static interface FixedValue.AssignerConfigurable extends Instrumentation
Instrumentation.Compound, Instrumentation.Context, Instrumentation.ForAbstractMethod, Instrumentation.Simple, Instrumentation.SpecialMethodInvocation, Instrumentation.Target| Modifier and Type | Method and Description |
|---|---|
Instrumentation |
withAssigner(Assigner assigner,
boolean considerRuntimeType)
Defines an explicit assigner to this fixed value instrumentation.
|
appender, prepareInstrumentation withAssigner(Assigner assigner, boolean considerRuntimeType)
assigner - The assigner to use for assigning the fixed value to the return type of the
instrumented value.considerRuntimeType - If true, the runtime type of the given value will be considered for
assigning the return type.Copyright © 2014. All rights reserved.