Class VirtualFieldMappingsBuilderImpl
- java.lang.Object
-
- io.opentelemetry.javaagent.tooling.muzzle.VirtualFieldMappingsBuilderImpl
-
- All Implemented Interfaces:
VirtualFieldMappingsBuilder
public final class VirtualFieldMappingsBuilderImpl extends Object implements VirtualFieldMappingsBuilder
-
-
Constructor Summary
Constructors Constructor Description VirtualFieldMappingsBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualFieldMappingsbuild()VirtualFieldMappingsBuilderregister(String typeName, String fieldTypeName)Register the association between thetypeNameand thefieldTypeName.
-
-
-
Method Detail
-
register
public VirtualFieldMappingsBuilder register(String typeName, String fieldTypeName)
Description copied from interface:VirtualFieldMappingsBuilderRegister the association between thetypeNameand thefieldTypeName. Class pairs registered using this method will be available asVirtualFields in the runtime; obtainable by callingVirtualField.find(Class, Class).- Specified by:
registerin interfaceVirtualFieldMappingsBuilder- Parameters:
typeName- The name of the type that will contain the virtual field of type namedfieldTypeName.fieldTypeName- The name of the field type that will be added totype.- Returns:
this.- See Also:
VirtualField
-
build
public VirtualFieldMappings build()
-
-