Static methods

staticretrieveMetadata(metaName:Dynamic, overwrite:Dynamic):Dynamic

Retrieves the value of a specified metadata tag (only String values) from the current class or any of its superclasses. The function searches the fields of the class for the specified metadata and returns its value as a macro expression. If overwrite is set to false, it will use the first non-null String value found and ignore any subsequent values.

Parameters:

metaName

The name of the metadata tag to retrieve.

overwrite

If true, the metadata value will be concatenated when found; if false, only the first non-null value will be used.

Returns:

The value of the specified metadata as an expression, or null if not found.