code: public static String getClassFieldNameWithValue(Class clazz, Object value) {
  		Field[] fields = clazz.getFields();
  		for (int i = 0; i < fields.length; i++) {
  			Field field = fields[i];
  			try {
  				Object constant = field.get(null);
  				if (value.equals(constant)) {
  					return clazz.getName() + "." + field.getName();
  				}
  			}
  			catch (Exception e) {
  				e.printStackTrace();
  			}
  		}
  		return null;
  	}
docs: Returns the qualified class field name with the specified value. For
  example, with a class defined with a static field "NORMAL" with value =
  "0", passing in "0" would return: className.NORMAL.
  
  @return The qualified field.