W
Warren Tang
Hello,
I am learning Java, and in particular inner classes now. I want to see
the code the compiler generates other than what I write. For example, I
want to see the following code(TimePrinter is an inner class, whose
outer class is TalkingClock):
warren.tang.TalkingClock$TimePrinter
{
warren.tang.TalkingClock$TimePrinter(warren.tang.TalkingClock)
public void
warren.tang.TalkingClock$TimePrinter.actionPerformed(java.awt.event.ActionEvent)
final warren.tang.TalkingClock
warren.tang.TalkingClock$TimePrinter.this$0
}
(So I am just finding something that is similar to the Reflector tool in
..NET.)
Then I found JadClipse which is an decompiler plugin for Eclipse. I've
just installed JadClipse configured it per the instructions here:
http://jadclipse.sourceforge.net/wiki/index.php/Main_Page
However I don't know how to use JadClipse. I think it should be invoked
against *.class files but I cannot see .class files in any of the views.
And I don't find other menu options that I can use...
I am still a beginner. Thanks for listening to me and can you help me?
Regards
Chunsheng Tang
I am learning Java, and in particular inner classes now. I want to see
the code the compiler generates other than what I write. For example, I
want to see the following code(TimePrinter is an inner class, whose
outer class is TalkingClock):
warren.tang.TalkingClock$TimePrinter
{
warren.tang.TalkingClock$TimePrinter(warren.tang.TalkingClock)
public void
warren.tang.TalkingClock$TimePrinter.actionPerformed(java.awt.event.ActionEvent)
final warren.tang.TalkingClock
warren.tang.TalkingClock$TimePrinter.this$0
}
(So I am just finding something that is similar to the Reflector tool in
..NET.)
Then I found JadClipse which is an decompiler plugin for Eclipse. I've
just installed JadClipse configured it per the instructions here:
http://jadclipse.sourceforge.net/wiki/index.php/Main_Page
However I don't know how to use JadClipse. I think it should be invoked
against *.class files but I cannot see .class files in any of the views.
And I don't find other menu options that I can use...
I am still a beginner. Thanks for listening to me and can you help me?
Regards
Chunsheng Tang