calculate calories concode_field_sep List<CakeLayerInfo> cakeLayerInfos concode_elem_sep Optional<Long> id concode_elem_sep CakeToppingInfo cakeToppingInfo concode_field_sep String toString
int function ( ) { int loc0 = cakeToppingInfo != null ? cakeToppingInfo . calories : 0 ; loc0 += cakeLayerInfos . stream ( ) . mapToInt ( c -> c . calories ) . sum ( ) ; return loc0 ; }