I notice in the project plan you have "generate delegate" code, however a
very useful refactoring is the ability to extract a delegate. You have some
methods that really are the responsibility of something else. This operation
would let you select them and choose extract delegate - you are prompted for
a name and that class is created with those methods. In the orginal class
the methods are removed, a delegate instance variable is created and
references to the moved methods are now dispatched via the new variable.

This is cool but useful refactoring - its conceptually simple but a big time
saver (and it would blow people away). If you get the IDE API done then we
could write these kinds of things ourselves of course.

Tim
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.325 / Virus Database: 182 - Release Date: 19/02/2002


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to