Class VirtualFieldMappingsBuilderImpl

java.lang.Object
io.opentelemetry.javaagent.tooling.muzzle.VirtualFieldMappingsBuilderImpl
All Implemented Interfaces:
VirtualFieldMappingsBuilder

public final class VirtualFieldMappingsBuilderImpl extends Object implements VirtualFieldMappingsBuilder
  • Constructor Details

    • VirtualFieldMappingsBuilderImpl

      public VirtualFieldMappingsBuilderImpl()
  • Method Details

    • register

      @CanIgnoreReturnValue public VirtualFieldMappingsBuilder register(String typeName, String fieldTypeName)
      Description copied from interface: VirtualFieldMappingsBuilder
      Register the association between the typeName and the fieldTypeName. Class pairs registered using this method will be available as VirtualFields in the runtime; obtainable by calling VirtualField.find(Class, Class).
      Specified by:
      register in interface VirtualFieldMappingsBuilder
      Parameters:
      typeName - The name of the type that will contain the virtual field of type named fieldTypeName.
      fieldTypeName - The name of the field type that will be added to type.
      Returns:
      this.
      See Also:
      • VirtualField
    • build

      public VirtualFieldMappings build()