aliased
annotation
The aliased
annotation documents alternative names for a declaration.
Usage
The annotation accepts a list of alternative names for the declaration.
aliased("absolute")
Integer magnitude(Integer n) {
return if (n >= 0) then n else -n;
}
Description
The aliased
annotation is processed by the
ceylon doc
tool.
It should also be used by IDEs so that features such as autocomplete
can find the declaration by any of its alternative names in addition
to the declaration name.
See also
- API documentation for
aliased
- Reference for annotations in general