hey all,

I'm not sure if this already exists - if it does, just tell me where to
look for it...

what I'm after is something similar to generate getter/setters, but that
would delegate to another class to provide the implementation.  For
instance:

public class A
{
  private int foo;
  public void setFoo(int foo) { this.foo = foo; }
  public int getFoo() { return foo; }
}

public class B
{
  public A a = new A();
  public void setFoo(int foo) { a.setFoo(a); }
  public int getFoo() { return a.getFoo(); }
}

so I suppose I want something like "expose methods from member"... does
this exist?  if not, does anyone think its worthwhile?

cheesr
dim


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

Reply via email to