private static boolean statementsCanBeMovedWithin(PsiElement parent) {
    return parent instanceof PsiCodeBlock || parent instanceof PsiJavaModule;
  }
private static boolean statementsCanBeMovedWithin(PsiElement parent)