I'm just talking about an implementation detail. You do not have to worry about it, just use #translated in your code as usual.
"Method properties" are additional state you can attach to a compiled method. Similar to pragmas, but invisible. They are not created by tags in the source code while compiling, but are attached later.
I'm just proposing to use them to cache the translation domain for a method. Figuring this out properly at runtime is expensive (the code needs to work its way from the compiled method to the package it belongs to).
With this I think we could even get rid of the class registration? The translation domain would just be the package name of the method that sent #translated. How does that sound?
- Bert -