public static PsiElement getUnreachableStatement(@NotNull ControlFlow flow) {
    final InstructionClientVisitor<PsiElement> visitor = new UnreachableStatementClientVisitor(flow);
    depthFirstSearch(flow, visitor);
    return visitor.getResult();
  }
public static PsiElement getUnreachableStatement(@NotNull ControlFlow flow)