protected Map<String, BeanField> loadFieldMap() {
      Map<String, BeanField> map = new HashMap<>();

      for (Field field : loadFields(getType())) {
         boolean required = field.getAnnotation(CsvBind.class).required();
         map.put(field.getName().toUpperCase().trim(), new BeanField(field, required));
      }

      return map;
   }
protected Map<String, BeanField> loadFieldMap() {
      Map<String, BeanField> map = new HashMap<>();

      for (Field field : loadFields(getType())) {
         boolean required = field.getAnnotation(CsvBind.class).required();
         map.put(field.getName().toUpperCase().trim(), new BeanField(field, required));
      }

      return map;
   }
protected Map < String , BeanField > loadFieldMap ( ) { Map < String , BeanField > map = new HashMap <> ( ) ; for ( Field field : loadFields ( getType ( ) ) ) { boolean required = field . getAnnotation ( CsvBind . class ) . required ( ) ; map . put ( field . getName ( ) . toUpperCase ( ) . trim ( ) , new BeanField ( field , required ) ) ; } return map ; }
Builds a map of fields (and whether they're mandatory) for the Bean.

@return - a map of fields (and whether they're mandatory)
Builds a map of fields ( and whether they re mandatory ) for the Bean .