*** empty log message ***
authorcg
Wed, 19 Mar 1997 23:18:25 +0000
changeset 152 db8e2bfe92f6
parent 151 96881b3f2c32
child 153 a09ff361234d
*** empty log message ***
JavaMethodref.st
--- a/JavaMethodref.st	Wed Mar 19 23:18:11 1997 +0000
+++ b/JavaMethodref.st	Wed Mar 19 23:18:25 1997 +0000
@@ -6,6 +6,20 @@
 !
 
 
+!JavaMethodref class methodsFor:'flushing'!
+
+flushCaches
+    self allInstancesDo:[:ref |
+        ref flush
+    ].
+
+    "
+     JavaMethodref flushCaches
+    "
+
+    "Modified: 20.3.1997 / 00:10:24 / cg"
+! !
+
 !JavaMethodref methodsFor:'accessing'!
 
 lastClass
@@ -52,6 +66,14 @@
 
 !JavaMethodref methodsFor:'resolving'!
 
+flush
+    method := nil.
+    lastClass := nil.
+    lastMethod := nil
+
+    "Created: 20.3.1997 / 00:10:01 / cg"
+!
+
 method
     |nm sig mthd cls|
 
@@ -143,5 +165,5 @@
 !JavaMethodref class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethodref.st,v 1.20 1997/03/18 18:57:28 cg Exp $'
+    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethodref.st,v 1.21 1997/03/19 23:18:25 cg Exp $'
 ! !