Title: Wrapper creation like Class Generation

Please, add Generate Wrapper command. This command from interface or interface object do wrapper class, like:

public class WrapperToMyInterface implements MyInterface {
  private MyInterface instance;
  public WrapperToMyInterface(MyInterface instance) {
     this.instance = instance;
  }

  // Follow methods implementation from MyInterface like this:
  public Object someMethod() {
    return instance.someMethod();
  }

  public String getName() {
    return instance.getName;
  }

  // etc
}

It's helped if I want write, for example, UnmodifiedResultSet (with have more methods), or etc.


Thanks,

Alexey Efimov - Software Engineer
Sputnik Labs
1st Kolobovsky per., 6/3
Moscow, 103051, Russia
Phone: +7 (095) 725 5444
Direct: +7 (501) 401 3217
Fax: +7 (095) 725 5443
E-Mail: mailto:[EMAIL PROTECTED]
http://www.spklabs.com

Reply via email to