[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inner Classes???
On Wed, 27 Feb 2002, Andreas Martens wrote:
> Or do I have to do this the hard way and declare the inner class as
> "Outer class$Inner class"?
>
> Thinking about it, I suppose it makes sense that there is no specific
> way of making inner classes, as they are of course represented in
> different fiiles, and thus pretty separate from each other..
Hi Andreas,
javac takes care of inner classes, as described in
http://java.sun.com/products/jdk/1.1/docs/guide/innerclasses/spec/innerclasses.doc.html
So if you want to simulate inner classes (it's not that useful in terms of
bytecode manipulation) you'd just have to do it yourself.
pat