Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 14294

Summary: Refactoring: Create and maintain delegate methods [refactoring]
Product: [Eclipse Project] JDT Reporter: Carl Rosenberger <carl>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: dirk_baeumer, dulci, hklingsp, Konstantin.Scheglov, mlq.eclipse
Version: 2.0Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Carl Rosenberger CLA 2002-04-21 20:08:13 EDT
If a class implements an interface, it should be possible to delegate all 
interface methods to one single member field.

An example:

public class DelegateConnection implements Connection
{
    private Connection _realConnection;
    // every method of connection is delegated to real connection
    // should also work if interface connection changes after the class
    // is created.
}
Comment 1 Erich Gamma CLA 2002-04-23 03:55:48 EDT
Agreed, this would be a useful refactoring, but I see no way to squeeze it into 
2.0 - deferred
Comment 2 Dirk Baeumer CLA 2002-07-23 12:56:40 EDT
[refactoring]

Currently no plan to add this in 2.1
Comment 3 Martin Aeschlimann CLA 2003-04-01 05:41:35 EST
add delegate methods 'wizard' in 2.1