Package net.bytebuddy.asm
Annotation Type Advice.AssignReturned.ToFields.ToField
-
@Target({}) @Enhance(ToFields.class) public static @interface Advice.AssignReturned.ToFields.ToField
Determines what fields are assigned when using aAdvice.AssignReturned.ToFields
annotation.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>
declaringType
The field's declaring type orvoid
if the type should be found within the instrumented type's hierarchy.int
index
The index in the array that is returned which represents the assigned value.Assigner.Typing
typing
The typing to apply when assigning the returned value to the targeted value.java.lang.String
value
The accessed field's name or an empty string if the field name should be inferred from the method's accessor name.
-
-
-
-
typing
Assigner.Typing typing
The typing to apply when assigning the returned value to the targeted value.- Returns:
- The typing to apply when assigning the returned value to the targeted value.
- Default:
- net.bytebuddy.implementation.bytecode.assign.Assigner.Typing.STATIC
-
-