Method Annotations

Summary: Allows methods to be annotated with metadata
Author: Andreas Raab
Owner: Nobody Right Now (not entered)
Co-maintainers: <None>
Categories:
Homepage:
PackageInfo name: <Not entered>
RSS feed:

Description:

Optional annotation for methods. All expressions are now treated as property of the compiled method. In other words, a method may look like:

Objectmumble
categories: #(basic eToy)
index: 42
value: 123.45
returnType: Array

After the method is compiled we may query it for those properties as in:
(Object compiledMethodAt: #mumble)
valueOfProperty: #categories; = #(basic eToy)
valueOfProperty: #index; = 42
valueOfProperty: #value; = 123.45
valueOfProperty: #returnType. = Array

Releases


Back