You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by Sapan Shah <sa...@patni.com> on 2003/04/24 10:32:23 UTC
Generating Inner Classes
Hi,
How do I generate Inner classe on the fly using BCEL?. I want to generate an
anonymous inner class.
something like
import java.util.Iterator;
class MyCollection{
public static final Iterator EMPTY_ITERATOR = new Iterator(){
public boolean hasNext(){
return false;
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org