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
ParameterDescription
nameAnnotation short or qualified name.
argumentsAnnotation argument values, keyed by argument name.
argumentTypesAnnotation argument token kinds, keyed by argument name.
Example
ann = Annotation("Entity", {"tableName": "T_Users"})
assert ann.argument("tableName") == "T_Users"