JavaDecompiler.st
changeset 129 f40775af59a5
parent 126 560b6f2bb615
child 156 fee47d32724d
--- a/JavaDecompiler.st	Wed Jul 10 15:01:25 1996 +0000
+++ b/JavaDecompiler.st	Sat Dec 07 12:54:07 1996 +0000
@@ -6,7 +6,7 @@
 !
 
 
-!JavaDecompiler  class methodsFor:'initialization'!
+!JavaDecompiler class methodsFor:'initialization'!
 
 initialize
     DecoderTable := #(
@@ -308,13 +308,13 @@
     "Modified: 16.4.1996 / 14:56:13 / cg"
 ! !
 
-!JavaDecompiler  class methodsFor:'accessing'!
+!JavaDecompiler class methodsFor:'accessing'!
 
 instructionTable
     ^ DecoderTable
 ! !
 
-!JavaDecompiler  class methodsFor:'decompiling'!
+!JavaDecompiler class methodsFor:'decompiling'!
 
 decompile:aJavaMethod
     self decompile:aJavaMethod to:Transcript
@@ -333,9 +333,9 @@
 
     who := aJavaMethod who.
     who notNil ifTrue:[
-        classToCompileFor := who first.
+        classToCompileFor := who methodClass.
         aStream cr.
-"/        aStream showCR:'decompiling ' , classToCompileFor name , '>>' , (who at:2) , ':'.
+"/        aStream showCR:'decompiling ' , classToCompileFor name , '>>' , (who methodSelector) , ':'.
         aStream showCR:'decompiling ' , aJavaMethod displayString , ':'.
         aJavaMethod isStatic ifTrue:[
             aStream show:'static method'.
@@ -621,9 +621,9 @@
     "Modified: 16.4.1996 / 15:30:55 / cg"
 ! !
 
-!JavaDecompiler  class methodsFor:'documentation'!
+!JavaDecompiler class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaDecompiler.st,v 1.21 1996/07/09 21:01:37 cg Exp $'
+    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaDecompiler.st,v 1.22 1996/12/07 12:54:07 cg Exp $'
 ! !
 JavaDecompiler initialize!