Пример #1
0
  private void resolveAndFillMapperConfiguration(String line, MapperConfiguration mapperConfig) {

    // 1. fill the line in the List of configs
    mapperConfig.getConfigurations().add(line);
    // 2. resolve null checks
    if (line.indexOf("=") > -1) {
      String arr[] = line.split("[[ ]*]+");
      mapperConfig
          .getResolvedObjectHierarchies()
          .put(arr[0], resolveNullChecksDestinationObj(arr[0], mapperConfig));
    }
  }