Bcl library for delphi code generation lacks the possibility to emit class method

I am currently in the process of altering OpenAPI importer for rest services, and I cannot find the way to generate overriden class virtual method. None of TCodeMemberMethod properties of methods seems to be able to force the method to be class method

SOLVED. I have found that this can be achieved by setting the respective TCodeMemberMethod property IsStatic to True (this makes the method "class". Whereas to make the respective method "static" is done by including mdStatic enum in its Directives property (this adds the keyword "static" to the declaration)

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.