ControlFlow (@NotNull PsiElement scope) { ControlFlowFactory factory = ControlFlowFactory.getInstance(scope.getProject()); ControlFlowPolicy policy = LocalsOrMyInstanceFieldsControlFlowPolicy.getInstance(); try { return factory.getControlFlow(scope, policy); } catch (AnalysisCanceledException e) { return null; } }