private void recordVisitField(Object object,Field objectField,Field field){
  Map<String,Set<String>> bag=visitedFields.get(object);
  if (bag == null) {
    bag=new HashMap<>();
    visitedFields.put(object,bag);
  }
  Set<String> fields=bag.get(objectField);
  String objectFiledKey=objectField == null ? "" : objectField.toGenericString();
  if (fields == null) {
    fields=new HashSet<>();
    bag.put(objectFiledKey,fields);
  }
  fields.add(field.toGenericString());
}

private void recordVisitField ( Object object , Field objectField , Field field ) { Map < String , Set < String > > bag = visitedFields . get ( object ) ; if ( bag == null ) { bag = new HashMap < > ( ) ; visitedFields . put ( object , bag ) ; } Set < String > fields = bag . get ( objectField ) ; String objectFiledKey = objectField == null ? "" : objectField . toGenericString ( ) ; if ( fields == null ) { fields = new HashSet < > ( ) ; bag . put ( objectFiledKey , fields ) ; } fields . add ( field . toGenericString ( ) ) ; }
records the field of a target object is visited
