public static @Nullable ASTNode getSameLanguageTreeNext(@NotNull ASTNode node) {
    ASTNode current = node.getTreeNext();
    while (current instanceof OuterLanguageElement) {
      current = current.getTreeNext();
    }
    return current;
  }
public static @Nullable ASTNode getSameLanguageTreeNext(@NotNull ASTNode node)