code: @Override
  	public void generateWriteProperty(Builder methodBuilder, String editorName, TypeName beanClass, String beanName, PrefsProperty property) {
  		if (beanClass!=null)
  		{
  			methodBuilder.addCode("if ($L!=null) ", getter(beanName, beanClass, property));
  				methodBuilder.addCode("$L.putString($S,$L.$L() );", editorName, property.getPreferenceKey(), getter(beanName, beanClass, property), METHOD_CONVERSION);			
  			methodBuilder.addCode(" else ");
  				methodBuilder.addCode("$L.putString($S, null);", editorName, property.getPreferenceKey());
  
  		} else {
  			methodBuilder.addCode("if ($L!=null) ", beanName);
  				methodBuilder.addCode("$L.putString($S,$L.$L());", editorName, property.getPreferenceKey(), beanName, METHOD_CONVERSION);			
  			methodBuilder.addCode(" else ");
  				methodBuilder.addCode("$L.remove($S);", editorName, property.getPreferenceKey());
  		}
  			
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.processor.sharedprefs.transform.PrefsTransform#generateWriteProperty(com.squareup.javapoet.MethodSpec.Builder, java.lang.String, com.squareup.javapoet.TypeName, java.lang.String, com.abubusoft.kripton.processor.sharedprefs.model.PrefsProperty)