diff --git a/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java b/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java index 724ad68..96193c9 100644 --- a/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java +++ b/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java @@ -113,7 +113,7 @@ public final class ComputedTypeArrayNative implements ComputedTypeArray { @Override public FieldLocation getJSerializerInstance(String basePackageName) { if (baseType.equals("String") && binaryStrings) { - return new FieldLocation(ClassName.get(Serializers.class), "NullableBinaryStringSerializerInstance"); + return new FieldLocation(ClassName.get(Serializers.class), "ArrayBinaryStringSerializerInstance"); } else { var className = ClassName.get(Serializers.class); var serializerFieldName = "Array" + baseType + "SerializerInstance";