Package net.bytebuddy.implementation
The implementation package contains any logic for intercepting method calls.
-
Interface Summary Interface Description EqualsMethod.NullValueGuard Guards a field value against a potentialnull
value.ExceptionMethod.ConstructionDelegate A construction delegate is responsible for calling aThrowable
's constructor.FieldAccessor.AssignerConfigurable A field accessor that can be configured to use a given assigner and runtime type use configuration.FieldAccessor.FieldLocation A field location represents an identified field description which depends on the instrumented type and method.FieldAccessor.FieldLocation.Prepared A prepared field location.FieldAccessor.FieldNameExtractor A field name extractor is responsible for determining a field name to a method that is implemented to access this method.FieldAccessor.OwnerTypeLocatable A field accessor that can be configured to locate a field in a specific manner.FieldAccessor.PropertyConfigurable A field accessor that allows to define the access to be a field write of a given argument.FixedValue.AssignerConfigurable Represents a fixed value implementation that is using a default assigner for attempting to assign the fixed value to the return type of the instrumented method.HashCodeMethod.NullValueGuard A guard againstnull
values for fields with reference types.HashCodeMethod.OffsetProvider An offset provider is responsible for supplying the initial hash code.Implementation An implementation is responsible for implementing methods of a dynamically created type as byte code.Implementation.Composable Represents an implementation that can be chained together with another implementation.Implementation.Context The context for an implementation application.Implementation.Context.ExtractableView Represents an extractable view of anImplementation.Context
which allows the retrieval of any registered auxiliary type.Implementation.Context.Factory A factory for creating a new implementation context.Implementation.SpecialMethodInvocation Represents an type-specific method invocation on the current instrumented type which is not legal from outside the type such as a super method or default method invocation.Implementation.Target The target of an implementation.Implementation.Target.Factory A factory for creating anImplementation.Target
.InvocationHandlerAdapter.AssignerConfigurable Allows for the configuration of anAssigner
of anInvocationHandlerAdapter
.InvocationHandlerAdapter.WithoutPrivilegeConfiguration Allows the configuration of privileged lookup for the resolution ofMethod
constants that are provided to the invocation handler.InvokeDynamic.InvocationProvider An invocation provider is responsible for loading the arguments of the invoked method onto the operand stack and for creating the actual invoke dynamic instruction.InvokeDynamic.InvocationProvider.ArgumentProvider An argument provider is responsible for loading arguments to a bootstrapped method onto the operand stack and providing the types of these arguments.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved InvokeDynamic.InvocationProvider.NameProvider Provides the name of the method that is to be bound by a dynamic method call.InvokeDynamic.InvocationProvider.ReturnTypeProvider Provides the return type that is requested from the bootstrap method.InvokeDynamic.InvocationProvider.Target A target for a dynamic method invocation.InvokeDynamic.InvocationProvider.Target.Resolved Represents a resolvedInvokeDynamic.InvocationProvider.Target
.LoadedTypeInitializer Implementations of this interface explicitly initialize a loaded type.MethodAccessorFactory A factory for creating method proxies for an auxiliary type.MethodCall.ArgumentLoader An argument loader is responsible for loading an argument for an invoked method onto the operand stack.MethodCall.ArgumentLoader.ArgumentProvider An argument provider is responsible for providing an argument loader for each argument to supply to a method.MethodCall.ArgumentLoader.Factory A factory that producesMethodCall.ArgumentLoader
s for a given instrumented method.MethodCall.MethodInvoker A method invoker is responsible for creating a method invocation that is to be applied by aMethodCall
.MethodCall.MethodInvoker.Factory A factory for creating a method invoker.MethodCall.MethodLocator A method locator is responsible for identifying the method that is to be invoked by aMethodCall
.MethodCall.MethodLocator.Factory A factory for creating a method locator.MethodCall.TargetHandler A target handler is responsible for invoking a method for aMethodCall
.MethodCall.TargetHandler.Factory A factory for creating a target handler.MethodCall.TargetHandler.ForField.Location A location of a field.MethodCall.TargetHandler.Resolved A resolved target handler.MethodCall.TerminationHandler A termination handler is responsible to handle the return value of a method that is invoked via aMethodCall
.MethodCall.TerminationHandler.Factory A factory for creating a termination handler.MethodDelegation.ImplementationDelegate An implementation delegate is responsible for executing the actual method delegation and for resolving the target methods.MethodDelegation.ImplementationDelegate.Compiled A compiled implementation delegate.ToStringMethod.PrefixResolver A prefix resolver is responsible for providing a value that is prepended to aObject.toString()
implementation. -
Class Summary Class Description DefaultMethodCall ThisImplementation
invokes a default method for the methods it instruments.DefaultMethodCall.Appender The appender for implementing aDefaultMethodCall
.EqualsMethod An implementation ofObject.equals(Object)
that takes a class's declared fields into consideration.EqualsMethod.Appender A byte code appender to implement theEqualsMethod
.EqualsMethod.CompoundComparator A compound comparator that compares the values of multiple fields.EqualsMethod.ConditionalReturn A conditional return aborts the equality computation if a given condition was reached.EqualsMethod.NullValueGuard.UsingJump A null value guard that expects a reference type and that skips the comparison if both values arenull
but returns if the invoked instance's field value isnull
but not the compared instance's value.ExceptionMethod This implementation causes aThrowable
to be thrown when the instrumented method is invoked.ExceptionMethod.ConstructionDelegate.ForDefaultConstructor A construction delegate that calls the default constructor.ExceptionMethod.ConstructionDelegate.ForStringConstructor A construction delegate that calls a constructor that takes a single string as its argument.FieldAccessor Defines a method to access a given field by following the Java bean conventions for getters and setters:FieldAccessor.FieldLocation.Absolute An absolute field description representing a previously resolved field.FieldAccessor.FieldLocation.Relative A relative field location where a field is located dynamically.FieldAccessor.FieldLocation.Relative.Prepared A prepared version of a field location.FieldAccessor.FieldNameExtractor.ForFixedValue A field name extractor that returns a fixed value.FieldAccessor.ForImplicitProperty A field accessor for an implicit property where a getter or setter property is inferred from the signature.FieldAccessor.ForSetter<T> A field accessor for a field setter.FieldAccessor.ForSetter.OfConstantValue An instrumentation that sets a constant value to a field.FieldAccessor.ForSetter.OfDefaultValue A setter instrumentation that sets anull
or a primitive type's default value.FieldAccessor.ForSetter.OfFieldValue A setter that reads a value of another field and sets this value.FieldAccessor.ForSetter.OfParameterValue A setter instrumentation for a parameter value.FieldAccessor.ForSetter.OfReferenceValue An instrumentation that sets a field to a reference value that is stored in a static field of the instrumented type.FixedValue This implementation returns a fixed value for a method.FixedValue.ForArgument A fixed value implementation that returns a method's argument.FixedValue.ForOriginType A fixed value that appends the origin type of the instrumented type.FixedValue.ForPoolValue A fixed value implementation that represents its fixed value as a value that is written to the instrumented class's constant pool.FixedValue.ForThisValue A fixed value ofthis
.FixedValue.ForThisValue.Appender A byte code appender for returningthis
.FixedValue.ForValue A fixed value implementation that represents its fixed value as a static field of the instrumented class.HashCodeMethod An implementation ofObject.hashCode()
that takes a class's declared fields into consideration.HashCodeMethod.Appender A byte code appender to implement a hash code method.HashCodeMethod.NullValueGuard.UsingJump A null value guard that expects a reference type and that uses a jump if a field value isnull
.HashCodeMethod.OffsetProvider.ForFixedValue An offset provider that supplies a fixed value.Implementation.Compound A compound implementation that allows to combine several implementations.Implementation.Compound.Composable A compound implementation that allows to combine several implementations and that isImplementation.Composable
.Implementation.Context.Default A default implementation of anImplementation.Context.ExtractableView
which serves as its ownMethodAccessorFactory
.Implementation.Context.Default.AbstractPropertyAccessorMethod A base implementation of a method that accesses a property of an instrumented type.Implementation.Context.Default.AccessorMethod A description of an accessor method to access another method from outside the instrumented type.Implementation.Context.Default.AccessorMethodDelegation An implementation of aTypeWriter.MethodPool.Record
for implementing an accessor method.Implementation.Context.Default.CacheValueField A description of a field that stores a cached value.Implementation.Context.Default.DelegationRecord An abstract method pool entry that delegates the implementation of a method to itself.Implementation.Context.Default.FieldCacheEntry A field cache entry for uniquely identifying a cached field.Implementation.Context.Default.FieldGetter A description of a field getter method.Implementation.Context.Default.FieldGetterDelegation An implementation for a field getter.Implementation.Context.Default.FieldSetter A description of a field setter method.Implementation.Context.Default.FieldSetterDelegation An implementation for a field setter.Implementation.Context.Disabled An implementation context that does not allow for any injections into the static initializer block.Implementation.Context.ExtractableView.AbstractBase An abstract base implementation of an extractable view of an implementation context.Implementation.Simple A simple implementation that does not register any members with the instrumented type.Implementation.SpecialMethodInvocation.AbstractBase An abstract base implementation of a valid special method invocation.Implementation.SpecialMethodInvocation.Simple A canonical implementation of aImplementation.SpecialMethodInvocation
.Implementation.Target.AbstractBase An abstract base implementation for anImplementation.Target
.InvocationHandlerAdapter An adapter for adapting anInvocationHandler
.InvocationHandlerAdapter.ForField An implementation of anInvocationHandlerAdapter
that delegates method invocations to an adapter that is stored in an instance field.InvocationHandlerAdapter.ForInstance An implementation of anInvocationHandlerAdapter
that delegates method invocations to an adapter that is stored in a static field.InvokeDynamic An implementation that applies a dynamic method invocation.InvokeDynamic.AbstractDelegator An abstract delegator that allows to specify a configuration for any specification of an argument.InvokeDynamic.InvocationProvider.ArgumentProvider.ForBooleanConstant An argument provider for aboolean
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForByteConstant An argument provider for abyte
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForCharacterConstant An argument provider for achar
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstant An argument provider for aClass
constant.InvokeDynamic.InvocationProvider.ArgumentProvider.ForDoubleConstant An argument provider for adouble
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForEnumerationValue An argument provider for anEnum
constant.InvokeDynamic.InvocationProvider.ArgumentProvider.ForField Provides an argument from an existing field.InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.WithExplicitType An argument provider for a field value with an explicit type.InvokeDynamic.InvocationProvider.ArgumentProvider.ForFloatConstant An argument provider for afloat
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance An argument provider for a value that is stored in a randomly named static field.InvokeDynamic.InvocationProvider.ArgumentProvider.ForIntegerConstant An argument provider for aint
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant An argument provider for a Java instance.InvokeDynamic.InvocationProvider.ArgumentProvider.ForLongConstant An argument provider for along
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter An argument provider that loads an argument of the intercepted method.InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.WithExplicitType An argument provider for a method parameter with an explicit type.InvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue An argument provider for thenull
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstant An argument provider for ashort
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstant An argument provider for aString
value.InvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance An argument provider that loads the intercepted instance.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple A simple implementation of a resolved argument provider.InvokeDynamic.InvocationProvider.Default An invocation provider that requests a synthetic dynamic invocation where all arguments are explicitly provided by the user.InvokeDynamic.InvocationProvider.Default.Target A target for a synthetically bound method call.InvokeDynamic.InvocationProvider.NameProvider.ForExplicitName A name provider that provides an explicit name.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType Requests an explicit return type.InvokeDynamic.InvocationProvider.Target.Resolved.Simple A simple implementation ofInvokeDynamic.InvocationProvider.Target.Resolved
.InvokeDynamic.WithImplicitArguments Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method.InvokeDynamic.WithImplicitTarget Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method and where the invocation target is implicit.InvokeDynamic.WithImplicitType AnInvokeDynamic
invocation where the last argument is assigned its implicit type.InvokeDynamic.WithImplicitType.OfArgument An invoke dynamic implementation where the last argument is an implicitly typed method argument.InvokeDynamic.WithImplicitType.OfField An invoke dynamic implementation where the last argument is an implicitly typed field value.InvokeDynamic.WithImplicitType.OfInstance A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.LoadedTypeInitializer.Compound A compound loaded type initializer that combines several type initializers.LoadedTypeInitializer.ForStaticField A type initializer for setting a value for a static field.MethodCall ThisImplementation
allows the invocation of a specified method while providing explicit arguments to this method.MethodCall.ArgumentLoader.ForField Loads the value of an existing field onto the operand stack.MethodCall.ArgumentLoader.ForField.ArgumentProvider An argument provider for a field access.MethodCall.ArgumentLoader.ForField.Factory A factory for an argument loaded that loads the value of an existing field as an argument.MethodCall.ArgumentLoader.ForInstance Loads a value onto the operand stack that is stored in a static field.MethodCall.ArgumentLoader.ForInstance.Factory A factory that supplies the value of a static field as an argument.MethodCall.ArgumentLoader.ForInstrumentedType Loads the instrumented type onto the operand stack.MethodCall.ArgumentLoader.ForMethodCall Loads the return value of a method call onto the operand stack.MethodCall.ArgumentLoader.ForMethodCall.ArgumentProvider An argument provider for a method call.MethodCall.ArgumentLoader.ForMethodCall.Factory A factory for an argument loaded that loads the return value of a method call as an argument.MethodCall.ArgumentLoader.ForMethodParameter Loads a parameter of the instrumented method onto the operand stack.MethodCall.ArgumentLoader.ForMethodParameter.Factory A factory for an argument loader that supplies a method parameter as an argument.MethodCall.ArgumentLoader.ForMethodParameterArray Loads an array containing all arguments of a method.MethodCall.ArgumentLoader.ForMethodParameterArrayElement An argument loader that loads an element of a parameter of an array type.MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfInvokedMethod An argument loader factory that loads an array element from a parameter for each argument of the invoked method.MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter Creates an argument loader for an array element that of a specific parameter.MethodCall.ArgumentLoader.ForStackManipulation Loads a stack manipulation resulting in a specific type as an argument.MethodCall.ArgumentLoader.ForThisReference An argument loader that assigns thethis
reference to a parameter.MethodCall.FieldSetting AMethodCall
that sets the call's result as the value of a field.MethodCall.MethodInvoker.ForContextualInvocation Applies a contextual invocation of the provided method, i.e.MethodCall.MethodInvoker.ForDefaultMethodInvocation Invokes a method as a Java 8 default method.MethodCall.MethodInvoker.ForSuperMethodInvocation Applies a super method invocation of the provided method.MethodCall.MethodInvoker.ForVirtualInvocation Applies a virtual invocation on a given type.MethodCall.MethodInvoker.ForVirtualInvocation.Factory A method invoker factory for a virtual method invocation.MethodCall.MethodLocator.ForElementMatcher A method locator that identifies a unique virtual method.MethodCall.MethodLocator.ForElementMatcher.Factory A factory for a method locator that uses a matcher on the instrumented type's available methods for identifing a target method.MethodCall.MethodLocator.ForExplicitMethod Invokes a given method.MethodCall.TargetHandler.ForConstructingInvocation Invokes a method in order to construct a new instance.MethodCall.TargetHandler.ForField Creates a target handler that stores the instance to invoke a method on in an instance field.MethodCall.TargetHandler.ForField.Factory A factory for a field access.MethodCall.TargetHandler.ForField.Location.ForExplicitField An explicit field location.MethodCall.TargetHandler.ForField.Location.ForImplicitField An implicit field location.MethodCall.TargetHandler.ForMethodCall A target handler that executes the method and uses it's return value as the target object.MethodCall.TargetHandler.ForMethodCall.Factory Creates a factory for invoking a method on the return type of another method.MethodCall.TargetHandler.ForMethodCall.Resolved A resolved target handler for a method call.MethodCall.TargetHandler.ForMethodParameter A target handler that loads the parameter of the given index as the target object.MethodCall.TargetHandler.ForMethodParameter.Resolved A resolved target handler for a method parameter.MethodCall.TargetHandler.ForSelfOrStaticInvocation A target handler that invokes a method either on the instance of the instrumented type or as a static method.MethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved A resolved target handler for a static or self-declared invocation.MethodCall.TargetHandler.ForValue A target handler that invokes a method on an instance that is stored in a static field.MethodCall.TargetHandler.ForValue.Factory A factory for a target handler that loads a specific value.MethodCall.TargetHandler.Simple A simple target handler that applies a given stack manipulation.MethodCall.TerminationHandler.FieldSetting A termination handler that sets a field.MethodCall.TerminationHandler.FieldSetting.Explicit A factory for a field-setting termination handler that locates a given field.MethodCall.TerminationHandler.FieldSetting.Implicit A factory for a field-setting termination handler that uses a matcher to locate the target field on the insturmented type.MethodCall.WithoutSpecifiedTarget Represents aMethodCall
that invokes a method without specifying an invocation method.MethodDelegation This implementation delegates an method call to another method which can either bestatic
by providing a reference to aClass
or an instance method when another object is provided.MethodDelegation.Appender The appender for implementing aMethodDelegation
.MethodDelegation.ImplementationDelegate.Compiled.ForConstruction A compiled implementation delegate for a constructor delegation.MethodDelegation.ImplementationDelegate.Compiled.ForField A compiled implementation delegate that invokes methods on a field.MethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn A compiled implementation delegate that invokes a method on an instance that is returned by another method.MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall A compiled implementation delegate for invoking a static method.MethodDelegation.ImplementationDelegate.ForConstruction An implementation delegate for constructing an instance.MethodDelegation.ImplementationDelegate.ForField An implementation delegate for invoking methods on a field that is declared by the instrumented type or a super type.MethodDelegation.ImplementationDelegate.ForField.WithInstance An implementation target for a static field that is declared by the instrumented type and that is assigned an instance.MethodDelegation.ImplementationDelegate.ForField.WithLookup An implementation target for a field that is declared by the instrumented type or a super type.MethodDelegation.ImplementationDelegate.ForMethodReturn An implementation delegate for invoking a delegation target on the another methods return value.MethodDelegation.ImplementationDelegate.ForStaticMethod An implementation delegate for a static method delegation.MethodDelegation.WithCustomProperties AMethodDelegation
with custom configuration.SuperMethodCall.Appender An appender for implementing aSuperMethodCall
.ToStringMethod An implementation ofObject.toString()
that concatenates theString
representation of all fields that are declared by a class.ToStringMethod.Appender An appender to implementToStringMethod
.ToStringMethod.PrefixResolver.ForFixedValue A prefix resolver that returns a fixed value. -
Enum Summary Enum Description EqualsMethod.NaturalOrderComparator A comparator that retains the natural order.EqualsMethod.NullValueGuard.NoOp A non-operational null value guard.EqualsMethod.SuperClassCheck Checks the equality contract against the super class.EqualsMethod.TypeCompatibilityCheck Checks the overall type of the provided argument.EqualsMethod.TypePropertyComparator A comparator that sorts fields by a type property.EqualsMethod.ValueComparator A value comparator is responsible to compare to values of a given type.FieldAccessor.FieldNameExtractor.ForBeanProperty AFieldAccessor.FieldNameExtractor
that determines a field name according to the rules of Java bean naming conventions.FieldAccessor.ForSetter.TerminationHandler A termination handler is responsible for handling a field accessor's return.FixedValue.ForNullValue A fixed value ofnull
.HashCodeMethod.NullValueGuard.NoOp A non-operational null value guard.HashCodeMethod.OffsetProvider.ForSuperMethodCall An offset provider that invokes the super class'sObject.hashCode()
implementation.HashCodeMethod.ValueTransformer A value transformer that is responsible for resolving a field value to anint
value.Implementation.Context.Default.Factory A factory for creating aImplementation.Context.Default
.Implementation.Context.Disabled.Factory A factory for creating aImplementation.Context.Disabled
.Implementation.SpecialMethodInvocation.Illegal A canonical implementation of an illegalImplementation.SpecialMethodInvocation
.Implementation.Target.AbstractBase.DefaultMethodInvocation Determines if default method invocations are possible.InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper Represents wrapper types and types that could be stored in a class's constant pool as such constant pool values.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParameters An argument provider that loads a reference to the intercepted instance and all arguments of the intercepted method.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters An argument provider that loads all arguments of the intercepted method.InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod A name provider that provides the name of the intercepted method.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod Requests the return type of the intercepted method.InvokeDynamic.TerminationHandler A termination handler is responsible to handle the return value of a method that is invoked via aInvokeDynamic
.LoadedTypeInitializer.NoOp A loaded type initializer that does not do anything.MethodAccessorFactory.AccessType Indicates the type of access to an accessor method.MethodAccessorFactory.Illegal A method accessor factory that forbids any accessor registration.MethodCall.ArgumentLoader.ForInstrumentedType.Factory A factory for an argument loader that supplies the instrumented type as an argument.MethodCall.ArgumentLoader.ForMethodParameter.OfInstrumentedMethod A factory for argument loaders that supplies all arguments of the instrumented method as arguments.MethodCall.ArgumentLoader.ForMethodParameterArray.ForInstrumentedMethod A factory that creates an arguments loader that loads all parameters of the instrumented method contained in an array.MethodCall.ArgumentLoader.ForNullConstant An argument loader that loads thenull
value onto the operand stack.MethodCall.ArgumentLoader.ForThisReference.Factory A factory for an argument loader that supplies thethis
value as an argument.MethodCall.FieldSetting.Appender A byte code appender to implement a field-setting method call.MethodCall.MethodInvoker.ForContextualInvocation.Factory A factory for creating a contextual method invoker.MethodCall.MethodInvoker.ForDefaultMethodInvocation.Factory A factory for creating a method invoker for a default method invocation.MethodCall.MethodInvoker.ForSuperMethodInvocation.Factory A method invoker factory for a super method invocation.MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType A method invoker for a virtual method that uses an implicit target type.MethodCall.MethodLocator.ForInstrumentedMethod A method locator that simply returns the intercepted method.MethodCall.TargetHandler.ForConstructingInvocation.Factory A target handler factory for a constructor invocation.MethodCall.TargetHandler.ForSelfOrStaticInvocation.Factory A factory for invoking a static method or a self-declared method.MethodCall.TerminationHandler.Simple Simple termination handler implementations.StubMethod This implementation creates a method stub which does nothing but returning the default value of the return type of the method.SuperMethodCall This implementation will create a new method which simply calls its super method.SuperMethodCall.Appender.TerminationHandler A handler that determines how to handle the method return value.SuperMethodCall.WithoutReturn A super method invocation where the return value is dropped instead of returning from the method.ToStringMethod.PrefixResolver.Default Default implementations for a prefix resolver.ToStringMethod.ValueConsumer A value consumer that is responsible for adding a field value to the string creatingStringBuilder
.