I'd like to suggest for IDEA to support automatic function delegation (or 
"wrapping") to a field.

For example:

**BEFORE**
class MyField {
  ...
  public Object doSomething(Object parameter) {
  ...
  }
}

class Container {

  private MyField myfield = new MyField();
}

**AFTER DELEGATE METHOD CALLS**

class Container {

  private MyField myField = new MyField();

  //new code created by IDEA
  public Object doSomething(Object value) {
    return myField.doSomething(value);
  }
}

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to