code: @Override
  	public void generateSerializeOnJackson(BindTypeContext context, MethodSpec.Builder methodBuilder, String serializerName, TypeName beanClass, String beanName, BindProperty property) {
  		if (property.isNullable()) {
  			methodBuilder.beginControlFlow("if ($L!=null) ", getter(beanName, beanClass, property));
  		}
  
  		if (property.isProperty()) {
  			methodBuilder.addStatement("fieldCount++");
  		}
  
  		if (property.isInCollection()) {
  			methodBuilder.addStatement("$L.writeString($L.$L())", serializerName, getter(beanName, beanClass, property), METHOD_TO_CONVERT);
  		} else {
  			methodBuilder.addStatement("$L.writeStringField($S, $L.$L())", serializerName, property.label, getter(beanName, beanClass, property), METHOD_TO_CONVERT);
  		}
  
  		if (property.isNullable()) {
  			methodBuilder.endControlFlow();
  		}
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.processor.bind.transform.BindTransform#generateSerializeOnJackson(com.abubusoft.kripton.processor.bind.BindTypeContext, com.squareup.javapoet.MethodSpec.Builder, java.lang.String, com.squareup.javapoet.TypeName, java.lang.String, com.abubusoft.kripton.processor.bind.model.BindProperty)