Towards class deprecation…


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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: