public class Annotation extends Object:
Class representing an annotation.
public class Example:
@MyAnnotation
public method doSomething() as Void:
print("Doing something")In this example, @MyAnnotation is an instance of the Annotation class.
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | namename as String: |
The name of this annotation |
| Modifier and Type | Member | Description |
|---|---|---|
| public | AnnotationAnnotation(name as String): |
Constructor for Annotation |