Please add a method 'makedirective' to the "Class" class.
This allows requesting a string from a method object which is formatted as a directive, reflecting the actual settings/definitions.
E.g. a program like:
::class 'Xyz' public
::class 'Abc' mixinclass xyz
::class 'cde' subclass xyz metclass Singleton
::class fgh subclass xyz inherit abc
::class 'Singleton' subclass Class
Would then (maybe) output:
::CLASS 'Xyz' METACLASS Class SUBCLASS Object PUBLIC
::CLASS 'Abc' METACLASS Class MIXINCLASS Xyz
::CLASS 'cde' METACLASS Singleton SUBCLASS Xyz
::CLASS 'FGH' METACLASS Class SUBCLASS Xyz INHERIT Abc
::CLASS 'Singleton' METACLASS Class SUBCLASS Class
This would allow for a sort of "leight-weight" reflection of a class's definition. Having Rexx at hand, it is a breeze to analyze the returned directive.
Such a feature would tremendeously ease the task of creating documentation (!!!), reports and tests for a running ooRexx system.
(In this case it probably makes it quite easy for peeking minds to learn/grasp the class directive, as they see what the - canonical - result of a directive would be.)