scratch/main> alias.type ExistingName NewName
scratch/main> alias.type Employee#2jdk10 v1.Employee
scratch/main> alias.type List.map .utils.List.map
alias.type foo bar
creates the name bar
as an alias for the type foo
. Metadata linked to foo
is copied over to bar
(use unlink
if this isn't what you want). foo
and bar
can be any type names.