code: public static ReflectedInfo getFieldInfoByEffectiveName(List<ReflectedInfo> infoList, String name) {
          if (infoList == null) {
              throw new IllegalArgumentException("infoList cannot be null.");
          }
          if (StringUtils.isBlank(name)) {
              throw new IllegalArgumentException("name cannot be null or empty.");
          }
          ReflectedInfo result = null;
          for (ReflectedInfo info : infoList) {
              if (name.equals(info.getEffectiveName())) {
                  result = info;
                  break;
              }
          }
          return result;
      }
docs: Helper method to find the field info by its effective name from the passed in list of info.
  
  @param infoList cannot be <code>null</code>.
  @param name cannot be <code>null</code> or empty.
  @return the info or <code>null</code> if not found.