class: JavaDecompiler cvs_MAIN
authorStefan Vogel <sv@exept.de>
Wed, 01 Jul 2015 11:12:52 +0200
branchcvs_MAIN
changeset 3481 a779991964a7
parent 3480 ca2f82a5f403
child 3482 3018c5eb9d80
class: JavaDecompiler comment/format in:8 methods
JavaDecompiler.st
--- a/JavaDecompiler.st	Wed Jul 01 11:07:04 2015 +0200
+++ b/JavaDecompiler.st	Wed Jul 01 11:12:52 2015 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1996-2015 by Claus Gittinger
 
@@ -20,6 +22,8 @@
 "
 "{ Package: 'stx:libjava' }"
 
+"{ NameSpace: Smalltalk }"
+
 Object subclass:#JavaDecompiler
 	instanceVariableNames:'code pc javaMethod outStream classToCompileFor isStaticMethod
 		lastConstIndex lastConstant accessedInstvars modifiedInstvars
@@ -782,7 +786,7 @@
 !
 
 enumerateInstructions
-    |who endPC insn spec op wide|
+    |endPC insn spec op wide|
 
     wide := false.
     pc := 1.
@@ -842,7 +846,7 @@
 !JavaDecompiler methodsFor:'operand decoding'!
 
 arrayTypeByte
-    |hi low index type|
+    |index type|
 
     index := code at:pc.
     pc := pc + 1.
@@ -996,7 +1000,7 @@
 !
 
 nargsByte
-    |byte constants|
+    |byte|
 
     byte := code byteAt:pc.
     pc := pc + 1.
@@ -1011,7 +1015,7 @@
 !
 
 reservedByte
-    |byte constants|
+    |byte|
 
     byte := code byteAt:pc.
     pc := pc + 1.
@@ -1026,7 +1030,7 @@
 !
 
 signedBranchShort
-    |index constants|
+    |index|
 
     index := code signedWordAt:pc MSB:true.
 
@@ -1045,7 +1049,7 @@
 !
 
 signedByte
-    |byte constants|
+    |byte|
 
     byte := code signedByteAt:pc.
     pc := pc + 1.
@@ -1066,7 +1070,7 @@
 !
 
 signedShort
-    |word constants|
+    |word|
 
     word := code signedWordAt:pc MSB:true.
     pc := pc + 2.
@@ -1129,7 +1133,7 @@
 !
 
 unsignedByte
-    |byte constants|
+    |byte|
 
     byte := code byteAt:pc.
     pc := pc + 1.
@@ -1275,11 +1279,11 @@
 !JavaDecompiler class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libjava/JavaDecompiler.st,v 1.58 2015-03-20 12:08:00 vrany Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libjava/JavaDecompiler.st,v 1.58 2015-03-20 12:08:00 vrany Exp $'
+    ^ '$Header$'
 !
 
 version_HG
@@ -1288,7 +1292,7 @@
 !
 
 version_SVN
-    ^ 'Id'
+    ^ '$Id$'
 
 ! !