code: private static void generateConstructor(PrefsEntity entity, String sharedPreferenceName, String beanClassName) {
  		MethodSpec.Builder method = MethodSpec.constructorBuilder().addModifiers(Modifier.PRIVATE).addJavadoc("constructor\n");
  
  		method.addStatement("createPrefs()");
  
  		if (entity.isImmutablePojo()) {
  			ImmutableUtility.generateImmutableVariableInit(entity, method);
  			ImmutableUtility.generateImmutableEntityCreation(entity, method, "defaultBean", false);
  		} else {
  			method.addStatement("defaultBean=new $T()", className(beanClassName));
  		}
  
  		builder.addMethod(method.build());
  	}
docs: Generate constructor.
  
  @param entity
  
  @param sharedPreferenceName
  the shared preference name
  @param beanClassName
  the bean class name