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

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

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

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

Alternatively, you can use the annotations() function.

Inherited Methods
Methods inherited from: Object
Methods inherited from: Annotated