Annotation Constructors: service()

The annotation class for the `service()` annotation.

Since 1.3.0

- `Anything`
  - `Object`
    - `Basic` ...and other supertypes
      - `ServiceAnnotation` ...and other supertypes

- `ServiceAnnotation`
  - `Basic`
    - `Identifiable`
    - `Object`
      - `Anything`
  - `SequencedAnnotation`
    - `ConstrainedAnnotation`
      - `Annotation`

no subtypes hierarchy

Initializer
`ServiceAnnotation(ClassOrInterfaceDeclaration contract)` Parameters: `contract` The service interface or class that the annotated class provides.

Attributes
`contract` | Source Code `shared ClassOrInterfaceDeclaration contract` The service interface or class that the annotated class provides.

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

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