Satisfied Interfaces: Annotated, Declaration
Direct Known Satisfying Interfaces: Module, NestableDeclaration, Package

Declaration which can be annotated, such as:

You can query annotations that are placed on a given annotated declaration with:

Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Declaration
annotationsSource Code
shared formal Annotation[] annotations<out Annotation>()
given Annotation satisfies Annotation

The annotation instances of the given annotation type on this declaration.

For example, you can list all the See annotations on List with the following code:

for(annot in `interface List`.annotations<See>()){
    for(elems in annot.programElements){
        print("See: ``elems``");

Alternatively, you can use the ceylon.language.meta::annotations function.

Inherited Methods
Methods inherited from: Object