void () { final LinkedList<MarkedNode> markedNodes = new LinkedList<>(); for (final PsiElement markedNode : myMarkedNodes) { final Node node = myElementToNode.get(markedNode); if (node != null) markedNodes.addFirst(node); } GlobalAnalyzer.doOneEnd(markedNodes, new Colorer()); }