Package net.bytebuddy.asm
Annotation Interface Advice.AssignReturned.ToFields
- Enclosing class:
Advice.AssignReturned
@Documented
@Retention(RUNTIME)
@Target(METHOD)
public static @interface Advice.AssignReturned.ToFields
Assigns the advice method's return value to a given field.
Important: This annotation has no effect unless an Advice.AssignReturned
post processor is explicitly registered.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A handler for aAdvice.AssignReturned.ToFields.ToField
annotation.static @interface
Determines what fields are assigned when using aAdvice.AssignReturned.ToFields
annotation. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe field assignments to apply.
-
Element Details
-
value
The field assignments to apply.- Returns:
- The field assignments to apply.
-