@Nullable
  private static PsiStatement getNearestEnclosingStatement(@Nullable PsiElement element) {
    return element instanceof PsiStatement ? (PsiStatement)element : PsiTreeUtil.getParentOfType(element, PsiStatement.class);
  }
@Nullable
  private static PsiStatement getNearestEnclosingStatement(@Nullable PsiElement element)