/** * Builds a new symbol table that has the same symbols as this one, but was renamed with * the given package and table name. * * @param tablePackage the table package * @param tableName the table name * @return the new renamed symbol table */ @NonNull public SymbolTable rename(@NonNull String tablePackage, @NonNull String tableName) { return builder() .tablePackage(tablePackage) .tableName(tableName) .addAll(allSymbols()) .build(); }