Annotation
class in package klyn.reflection

    public class Annotation extends Object:

Object
└ Annotation

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.

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | name `name as String:` | The name of this annotation

Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | Annotation `Annotation(name as String):` | Constructor for Annotation

Methods inherited from Object: fromJson, toDict, toJson, toString, toXml