Annotation Type MemberSubstitution.FieldSetterHandle

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?> declaringType
      Returns the type that declares the field that should be mapped to the annotated parameter.
      java.lang.String value
      Returns the name of the field.
    • Element Detail

      • value

        java.lang.String value
        Returns the name of the field.
        Returns:
        The name of the field.
        Default:
        ""
      • declaringType

        java.lang.Class<?> declaringType
        Returns the type that declares the field that should be mapped to the annotated parameter. If this property is set to void, the field is looked up implicitly within the instrumented class's class hierarchy. The value can also be set to TargetType in order to look up the type on the instrumented type.
        Returns:
        The type that declares the field, void if this type should be determined implicitly or TargetType for the instrumented type.
        Default:
        void.class