I am in the process of exporting the full list of attributes and certain of their characteristics (required, collection,…) from a list of classes to a CSV file. Here is a sample of the code used:
(define lstClass (list “Person”))
(for-each
(lambda (cls)
(let ((clz (((invocation-context)’metadata)’findMetaclass cls)))
(for-each
(lambda (attr) (logger’info (attr’name) (attr’description)))
(clz’attributeIterator)
)
)
)
lstClass
)
Unfortunately ‘description, while not throwing an error, always returns null.
What is the best way to export a list of class attributes for a given class, including the description of the attributes (as entered in the .class meta file)?