default <T>void forEachMatchingFieldNameWithInteger(String regex,BiConsumer<String,Integer> function){
  forEachMatchingFieldNameWithInteger(Pattern.compile(regex),1,function);
}

default < T > void forEachMatchingFieldNameWithInteger ( String regex , BiConsumer < String , Integer > function ) { forEachMatchingFieldNameWithInteger ( Pattern . compile ( regex ) , 1 , function ) ; }
for all fields whose names match the given regular expression , extract an integer from the first group in the regular expression and call the supplied function .
