Using the idea we got with Peter Uhnak, we know implemented using the transformation library of gustavo two new transformations:
– deprecate class: It just compiles a “new” method raising a warning and a class method deprecated returning true. This could then improve to rename the method new if it already exist.
– rename and deprecate: the idea here is that we want to make sure that we can rename a class and that external users get a chance to load and execute their code. For that if we have a class A, we rename it into ANewName and create an empty subclass A that we deprecate.
Let us know what you think.
Stef and Gustavo