JavaMethod.st
changeset 220 70b887df44a4
parent 209 9e4b45da1117
child 237 4c9ca89313d4
--- a/JavaMethod.st	Thu Aug 14 13:45:44 1997 +0000
+++ b/JavaMethod.st	Thu Aug 14 13:53:46 1997 +0000
@@ -956,6 +956,10 @@
 source
     |classSource|
 
+    self isNative ifTrue:[
+        ^ 'native method'
+    ].
+
     ForceByteCodeDisplay == true ifTrue:[
         ^ self decompiledBytecode
     ].
@@ -967,7 +971,7 @@
 
     ^ self decompiledSource
 
-    "Modified: 7.4.1997 / 20:10:57 / cg"
+    "Modified: 14.8.1997 / 04:34:15 / cg"
 !
 
 sourceFilename
@@ -1325,6 +1329,6 @@
 !JavaMethod class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethod.st,v 1.49 1997/08/12 00:31:03 cg Exp $'
+    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethod.st,v 1.50 1997/08/14 13:53:46 cg Exp $'
 ! !
 JavaMethod initialize!