WrappedMethod.st
changeset 4392 40dcd434117c
parent 4213 30d0d0045710
child 4431 1d539eece6b9
--- a/WrappedMethod.st	Wed Jan 16 04:32:30 2019 +0000
+++ b/WrappedMethod.st	Thu Jan 24 18:03:13 2019 +0100
@@ -343,6 +343,17 @@
 
 !WrappedMethod methodsFor:'printing & storing'!
 
+printOn:aStream
+    "put a printed representation of the receiver onto aStream.
+     Since methods do not store their class/selector, we have to search
+     for it here."
+
+    self basicPrintOn:aStream."/ aStream nextPutAll:(self classNameWithArticle).
+    aStream nextPutAll:'(for '.
+    aStream nextPutAll:self originalMethod whoString.
+    aStream nextPutAll:')'.
+!
+
 selectorPrintStringInBrowserFor:selector
     ^ [
         self originalMethod perform:  #selectorPrintStringInBrowserFor: with: selector
@@ -363,19 +374,6 @@
     "Created: / 16-10-2013 / 01:04:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-!WrappedMethod methodsFor:'printing and storing'!
-
-printOn:aStream
-    "put a printed representation of the receiver onto aStream.
-     Since methods do not store their class/selector, we have to search
-     for it here."
-
-    self basicPrintOn:aStream."/ aStream nextPutAll:(self classNameWithArticle).
-    aStream nextPutAll:'(for '.
-    aStream nextPutAll:self originalMethod whoString.
-    aStream nextPutAll:')'.
-! !
-
 !WrappedMethod methodsFor:'private'!
 
 annotationAtIndex: index