Package net.bytebuddy.asm
Annotation Type Advice.AssignReturned.ToFields.ToField
-
@Target({}) @Enhance(ToFields.class) public static @interface Advice.AssignReturned.ToFields.ToFieldDetermines what fields are assigned when using aAdvice.AssignReturned.ToFieldsannotation.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>declaringTypeThe field's declaring type orvoidif the type should be found within the instrumented type's hierarchy.intindexThe index in the array that is returned which represents the assigned value.Assigner.TypingtypingThe typing to apply when assigning the returned value to the targeted value.java.lang.StringvalueThe 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
-
-