linux, xemacs, 2.2.0
I would have investigated this more thoroughly, but the source for
jde.wizards.DelegateFactory is not included in the latest jde distribution.
Hopefully this is an oversight.
This is a *cool* feature that doesn't seem to work when the delegee
is of type java.util.HashMap. Here is what I get in the bean shell
when I try to make delegates for java.util.HashMap ( short answer,
code that delegates to java.lang.Object instead of HashMap ):
bsh % jde.wizards.DelegateFactory.makeDelegates( "foo", "java.util.HashMap", true,
true, true);
"// Code for delegation of java.lang.Object methods to foo
/**
*
* @return <description>
*/
public Class getClass()
{
return foo.getClass();
}
/**
*
*/
public void notify()
{
foo.notify();
}
/**
*
*/
public void notifyAll()
{
foo.notifyAll();
}
/**
*
* @exception java.lang.InterruptedException <description>
*/
public void wait() throws InterruptedException
{
foo.wait();
}
/**
*
* @param param1 <description>
* @exception java.lang.InterruptedException <description>
*/
public void wait(long param1) throws InterruptedException
{
foo.wait(param1);
}
/**
*
* @param param1 <description>
* @param param2 <description>
* @exception java.lang.InterruptedException <description>
*/
public void wait(long param1, int param2) throws InterruptedException
{
foo.wait(param1, param2);
}
"