Annotation Type MemberSubstitution.This

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean optional
      Determines if the parameter should be assigned null if no this parameter is available.
      MemberSubstitution.Source source
      Determines the source that is considered for this annotation which can be either the substituted method, constructor or field, or the instrumented method.
      Assigner.Typing typing
      The typing that should be applied when assigning the this value.
    • Element Detail

      • typing

        Assigner.Typing typing
        The typing that should be applied when assigning the this value.
        Returns:
        The typing to apply upon assignment.
        Default:
        net.bytebuddy.implementation.bytecode.assign.Assigner.Typing.STATIC
      • source

        MemberSubstitution.Source source
        Determines the source that is considered for this annotation which can be either the substituted method, constructor or field, or the instrumented method.
        Returns:
        The source that is considered for this annotation.
        Default:
        net.bytebuddy.asm.MemberSubstitution.Source.SUBSTITUTED_ELEMENT
      • optional

        boolean optional
        Determines if the parameter should be assigned null if no this parameter is available.
        Returns:
        true if the value assignment is optional.
        Default:
        false