SliceAnalysisParams (PsiElement element, boolean dataFlowToThis) { SliceAnalysisParams params = new SliceAnalysisParams(); params.scope = new AnalysisScope(element.getProject()); params.dataFlowToThis = dataFlowToThis; params.showInstanceDereferences = true; return params; }