private StructImpl store(Class clazz){
  Field[] fieldsArr=clazz.getFields();
  StructImpl fieldsMap=new StructImpl();
  for (int i=0; i < fieldsArr.length; i++) {
    storeField(fieldsArr[i],fieldsMap);
  }
  map.put(clazz,fieldsMap);
  return fieldsMap;
}

private StructImpl store ( Class clazz ) { Field [ ] fieldsArr = clazz . getFields ( ) ; StructImpl fieldsMap = new StructImpl ( ) ; for ( int i = 0 ; i < fieldsArr . length ; i ++ ) { storeField ( fieldsArr [ i ] , fieldsMap ) ; } map . put ( clazz , fieldsMap ) ; return fieldsMap ; }
store a class with his methods
