Is it possible to use Attributes on Delphi method arguments?
问题 Is this valid code with newer Delphi versions? // handle HTTP request "example.com/products?ProductID=123" procedure TMyRESTfulService.HandleRequest([QueryParam] ProductID: string); In this example, the argument "ProductID" is attributed with [QueryParam] . If this is valid code in Delphi, there must also be a way to write RTTI based code to find the attributed argument type information. See my previous question Which language elements can be annotated using attributes language feature of