code: private static boolean hasSerializableFields(JavaClass cls) {
          Field[] fields = cls.getFields();
          for (Field f : fields) {
              if (!f.isStatic() && !f.isTransient() && !f.isSynthetic()) {
                  return true;
              }
          }
          return false;
      }
docs: looks for fields that are candidates for serialization
  
  @param cls
  the class to look for fields
  @return if their is a field that looks like it should be serialized