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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Register the association between thetypeNameand thefieldTypeName.
-
Constructor Details
-
VirtualFieldMappingsBuilderImpl
public VirtualFieldMappingsBuilderImpl()
-
-
Method Details
-
register
@CanIgnoreReturnValue 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
-