public static List<PyElement> getTopLevelModuleMembers(@NotNull PyFile pyFile) {
    final List<PyElement> result = new ArrayList<>();
    for (PyTargetExpression attr : pyFile.getTopLevelAttributes()) {
      if (isMovableModuleMember(attr)) {
        result.add(attr);
      }
    }
    result.addAll(pyFile.getTopLevelClasses());
    result.addAll(pyFile.getTopLevelFunctions());
    return result;
  }
public static List<PyElement> getTopLevelModuleMembers(@NotNull PyFile pyFile)