A program element that can be annotated.

See also `AnnotationType`
Since 1.2.0

no type hierarchy

no supertypes hierarchy

- `Annotated`
  - `AnnotatedDeclaration`
    - `Module`
    - `NestableDeclaration`
      - `AliasDeclaration`
      - `ClassOrInterfaceDeclaration`
        - `ClassDeclaration`
          - `ClassWithConstructorsDeclaration`
          - `ClassWithInitializerDeclaration`
        - `InterfaceDeclaration`
      - `ConstructorDeclaration`
        - `CallableConstructorDeclaration`
        - `ValueConstructorDeclaration`
      - `FunctionOrValueDeclaration`
        - `FunctionDeclaration`
        - `ValueDeclaration`
      - `SetterDeclaration`
    - `Package`
  - `Import`

Inherited Attributes
Attributes inherited from: `Object` `hash`, `string`

Methods
`annotated` | Source Code `shared formal Boolean annotated<Annotation>() given Annotation satisfies AnnotationType` true if this element has at least one annotation of the given annotation type.

Inherited Methods
Methods inherited from: `Object` `equals()`