kotlinStdLibNames
The entries of this map was generate with this script:
#!/usr/bin/env bash
print_classes() {
packages=(kotlin kotlin.annotation kotlin.collections kotlin.comparisons kotlin.io kotlin.ranges kotlin.sequences kotlin.text kotlin.jvm)
for package in "${packages[@]}"; do
curl -s "https://kotlinlang.org/api/latest/jvm/stdlib/$package/" | gsed -n -E "s|<h4><a href=\".*\">([a-zA-Z].*)</a></h4>|\"\1\" to \"$package.\1\",|p"
done
}
print_classes | sort -u | gsed '/^"[A-Z_]*"/d'
Content copied to clipboard
And the list of packages that should be considered was extracted from the kotlin documentation: https://kotlinlang.org/docs/packages.html#default-imports
Since
0.12.0