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

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