Package net.bytebuddy.implementation
Interface FixedValue.AssignerConfigurable
-
- All Superinterfaces:
Implementation
,InstrumentedType.Prepareable
- All Known Implementing Classes:
FixedValue.ForArgument
,FixedValue.ForOriginType
,FixedValue.ForPoolValue
,FixedValue.ForThisValue
,FixedValue.ForValue
- Enclosing class:
- FixedValue
public static interface FixedValue.AssignerConfigurable extends Implementation
Represents a fixed value implementation that is using a default assigner for attempting to assign the fixed value to the return type of the instrumented method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.Implementation
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Implementation
withAssigner(Assigner assigner, Assigner.Typing typing)
Defines an explicit assigner to this fixed value implementation.-
Methods inherited from interface net.bytebuddy.implementation.Implementation
appender
-
Methods inherited from interface net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
prepare
-
-
-
-
Method Detail
-
withAssigner
Implementation withAssigner(Assigner assigner, Assigner.Typing typing)
Defines an explicit assigner to this fixed value implementation.- Parameters:
assigner
- The assigner to use for assigning the fixed value to the return type of the instrumented value.typing
- Indicates if dynamic type castings should be attempted for incompatible assignments.- Returns:
- A fixed value implementation that makes use of the given assigner.
-
-