klyn.reflection.Annotation.Annotation
constructor

    public Annotation(name as String, arguments as Map<String, String> = null, argumentTypes as Map<String, String> = null):

Description

Builds annotation metadata.

Parameters

Parameter | Description
--- | ---
`name` | Annotation short or qualified name.
`arguments` | Annotation argument values, keyed by argument name.
`argumentTypes` | Annotation argument token kinds, keyed by argument name.

Example

    ann = Annotation("Entity", {"tableName": "T_Users"})
    assert ann.argument("tableName") == "T_Users"