void (@NotNull AnActionEvent e) { List<StackLine> nextFrames = myNextFramesSupplier.get(); StackFilter stackFilter = StackFilter.from(nextFrames); SliceAnalysisParams params = new SliceAnalysisParams(); params.dataFlowToThis = true; params.scope = new AnalysisScope(GlobalSearchScope.allScope(myProject), myProject); params.scope.setSearchInLibraries(true); params.valueFilter = new JavaValueFilter(new DfaBasedFilter(myAnalysis.myDfType), stackFilter); SliceManager.getInstance(myProject).createToolWindow(myAnalysis.myAnchor, params); }