public void scan(){
  fieldsTypesValues=new KeepFirstTreeMap<String,Pair<String,String>>();
  if (object == null) {
    return;
  }
  Class<?> clazz=object.getClass();
  do {
    list(clazz);
    clazz=clazz.getSuperclass();
  }
 while (clazz != null);
}

public void scan ( ) { fieldsTypesValues = new KeepFirstTreeMap < String , Pair < String , String > > ( ) ; if ( object == null ) { return ; } Class < ? > clazz = object . getClass ( ) ; do { list ( clazz ) ; clazz = clazz . getSuperclass ( ) ; } while ( clazz != null ) ; }
scans the object for direct and indirect fields . use getresult to get the result .
