test_class.declarator: logger = LoggerFactory.getLogger(MetaFieldUtilTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(MetaFieldUtilTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: ch-commons-util/src/test/java/com/cloudhopper/commons/util/MetaFieldUtilTest.java
test_class.identifier: MetaFieldUtilTest
test_case.body: @Test
      public void toMetaFieldInfoString() throws Exception {
          Employee emp = new Employee();
          String string0 = MetaFieldUtil.toMetaFieldInfoString(emp);
          logger.debug(string0);
  
          emp = new Administrator();
          String string1 = MetaFieldUtil.toMetaFieldInfoString(emp);
          logger.debug(string1);
  
          /**
          Assert.assertEquals("username=null,firstName=null,lastName=null,email=null,id=-1,isActive=false,loginCounter=0", string0);
          emp.setFirstName("John");
          emp.setLastName("Doe");
          emp.setActive(true);
          emp.setLoginCounter(52);
          string0 = MetaFieldUtil.toMetaFieldInfoString(emp);
          Assert.assertEquals("username=null,firstName=\"John\",lastName=\"Doe\",email=null,id=-1,isActive=true,loginCounter=52", string0);
           */
      }
test_case.class_method_signature: MetaFieldUtilTest.toMetaFieldInfoString()
test_case.full_signature: @Test public void toMetaFieldInfoString()
test_case.identifier: toMetaFieldInfoString
test_case.invocations: toMetaFieldInfoString debug toMetaFieldInfoString debug
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toMetaFieldInfoString()
focal_class.declarator: logger = LoggerFactory.getLogger(MetaFieldUtil.class)
focal_class.modifier: private static
focal_class.original_string: private static Logger logger = LoggerFactory.getLogger(MetaFieldUtil.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: ch-commons-util/src/main/java/com/cloudhopper/commons/util/MetaFieldUtil.java
focal_class.identifier: MetaFieldUtil
focal_class.class_method_signature: MetaFieldUtil.toMetaFieldInfoString(Object obj)
focal_class.full_signature: public static String toMetaFieldInfoString(Object obj)
focal_class.identifier: toMetaFieldInfoString
focal_class.modifiers: public static
focal_class.parameters: (Object obj)
focal_class.return: String
focal_class.signature: String toMetaFieldInfoString(Object obj)
focal_class.class_method_signature: MetaFieldUtil.toMetaFieldInfoArray(Object obj)
focal_class.full_signature: public static MetaFieldInfo[] toMetaFieldInfoArray(Object obj)
focal_class.identifier: toMetaFieldInfoArray
focal_class.modifiers: public static
focal_class.parameters: (Object obj)
focal_class.return: MetaFieldInfo[]
focal_class.signature: MetaFieldInfo[] toMetaFieldInfoArray(Object obj)
focal_class.class_method_signature: MetaFieldUtil.toMetaFieldInfoArray(Object obj, String stringForNullValues)
focal_class.full_signature: public static MetaFieldInfo[] toMetaFieldInfoArray(Object obj, String stringForNullValues)
focal_class.identifier: toMetaFieldInfoArray
focal_class.modifiers: public static
focal_class.parameters: (Object obj, String stringForNullValues)
focal_class.return: MetaFieldInfo[]
focal_class.signature: MetaFieldInfo[] toMetaFieldInfoArray(Object obj, String stringForNullValues)
focal_class.class_method_signature: MetaFieldUtil.toMetaFieldInfoArray(Object obj, String stringForNullValues, boolean ignoreAnnotatedName)
focal_class.full_signature: public static MetaFieldInfo[] toMetaFieldInfoArray(Object obj, String stringForNullValues, boolean ignoreAnnotatedName)
focal_class.identifier: toMetaFieldInfoArray
focal_class.modifiers: public static
focal_class.parameters: (Object obj, String stringForNullValues, boolean ignoreAnnotatedName)
focal_class.return: MetaFieldInfo[]
focal_class.signature: MetaFieldInfo[] toMetaFieldInfoArray(Object obj, String stringForNullValues, boolean ignoreAnnotatedName)
focal_class.class_method_signature: MetaFieldUtil.toMetaFieldInfoArray(Class type, Object obj, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.full_signature: public static MetaFieldInfo[] toMetaFieldInfoArray(Class type, Object obj, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.identifier: toMetaFieldInfoArray
focal_class.modifiers: public static
focal_class.parameters: (Class type, Object obj, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.return: MetaFieldInfo[]
focal_class.signature: MetaFieldInfo[] toMetaFieldInfoArray(Class type, Object obj, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.class_method_signature: MetaFieldUtil.internalToMetaFieldInfoArray(Class type, Object obj, String preFieldName,
              String postFieldName, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.full_signature: protected static MetaFieldInfo[] internalToMetaFieldInfoArray(Class type, Object obj, String preFieldName,
              String postFieldName, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.identifier: internalToMetaFieldInfoArray
focal_class.modifiers: protected static
focal_class.parameters: (Class type, Object obj, String preFieldName,
              String postFieldName, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_class.return: MetaFieldInfo[]
focal_class.signature: MetaFieldInfo[] internalToMetaFieldInfoArray(Class type, Object obj, String preFieldName,
              String postFieldName, String stringForNullValues, boolean ignoreAnnotatedName, boolean recursive)
focal_method.body: public static String toMetaFieldInfoString(Object obj) {
          StringBuffer buf = new StringBuffer(100);
          MetaFieldInfo[] fields = toMetaFieldInfoArray(obj, null, true);
          for (int i = 0; i < fields.length; i++) {
              MetaFieldInfo field = fields[i];
              buf.append(field.name);
              buf.append("=");
              // if the field's actual value is non-null and of type String
              if (field.actualValue != null && field.actualValue.getClass().equals(String.class)) {
                  buf.append('"');
                  buf.append(field.value);
                  buf.append('"');
              } else {
                  buf.append(field.value);
              }
              // if not last element, delimit with a comma
              if (i+1 < fields.length)
                  buf.append(",");
          }
          return buf.toString();
      }
focal_method.class_method_signature: MetaFieldUtil.toMetaFieldInfoString(Object obj)
focal_method.full_signature: public static String toMetaFieldInfoString(Object obj)
focal_method.identifier: toMetaFieldInfoString
focal_method.invocations: toMetaFieldInfoArray append append equals getClass append append append append append toString
focal_method.modifiers: public static
focal_method.parameters: (Object obj)
focal_method.return: String
focal_method.signature: String toMetaFieldInfoString(Object obj)