Set<String> () { SliceTreeStructure treeStructure = configureTree(getTestName(false)); SliceRootNode root = treeStructure.getRootElement(); SliceLeafAnalyzer analyzer = JavaSlicerAnalysisUtil.createLeafAnalyzer(); Map<SliceNode, Collection<PsiElement>> map = analyzer.createMap(); Collection<PsiElement> leaves = analyzer.calcLeafExpressions(root, treeStructure, map); return ContainerUtil.map2Set(leaves, PsiElement::getText); }