void () { final Map<Integer,Integer> map = new HashMap<Integer,Integer>(); map.put(1, 2); //evaluate here map.entrySet().stream().filter((a) -> (a.getKey()>0)); <caret>new Inner(map).invoke(); map.put(3, 5); }