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 dynamicallyTyped)
Defines an explicit assigner to this fixed value instrumentation.
|
appender, prepare
Instrumentation withAssigner(Assigner assigner, boolean dynamicallyTyped)
assigner
- The assigner to use for assigning the fixed value to the return type of the
instrumented value.dynamicallyTyped
- If true
, the runtime type of the given value will be considered for
assigning the return type.Copyright © 2014–2015. All rights reserved.