Class FieldAccessor.ForSetter.OfReferenceValue

    • Constructor Detail

      • OfReferenceValue

        protected OfReferenceValue​(FieldAccessor.FieldLocation fieldLocation,
                                   Assigner assigner,
                                   Assigner.Typing typing,
                                   FieldAccessor.ForSetter.TerminationHandler terminationHandler,
                                   Object value,
                                   String name)
        Creates a setter instrumentation for setting a value stored in a static field of the instrumented type.
        Parameters:
        fieldLocation - The field's location.
        assigner - The assigner to use.
        typing - Indicates if dynamic type castings should be attempted for incompatible assignments.
        terminationHandler - The termination handler to apply.
        value - The value to store.
        name - The name of the field to store the reference in.