code: private void appendValue(StringBuilder builder, Class fieldClazz, Object value)
      {
  
          if (fieldClazz != null
                  && value != null
                  && (fieldClazz.isAssignableFrom(String.class) || fieldClazz.isAssignableFrom(char.class)
                          || fieldClazz.isAssignableFrom(Character.class) || value instanceof Enum))
          {
  
              if (fieldClazz.isAssignableFrom(String.class))
              {
                  // To allow escape character
                  value = ((String) value).replaceAll("'", "''");
              }
              builder.append("'");
  
              if (value instanceof Enum)
              {
                  builder.append(((Enum) value).name());
              }
  
              else
              {
                  builder.append(value);
              }
              builder.append("'");
          }
          else
          {
              builder.append(value);
          }
  
      }
docs: Append value.
  
  @param builder
  the builder
  @param fieldClazz
  the field clazz
  @param value
  the value