#DOCUMENTATION by exept cvs_MAIN
authorClaus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 20:09:49 +0200
branchcvs_MAIN
changeset 3922 5e743d31adf7
parent 3921 1999ba4ed954
child 3923 0bf55988ea11
#DOCUMENTATION by exept class: JavaMethod comment/format in: #messagesSent
JavaMethod.st
--- a/JavaMethod.st	Tue Jul 09 20:09:29 2019 +0200
+++ b/JavaMethod.st	Tue Jul 09 20:09:49 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1996-2015 by Claus Gittinger
 
@@ -2334,7 +2336,7 @@
     "return a string as className>>selector. Used with debugging."
 
     "/ in order to not break existing code which parses those strings,
-    "/ do not replace '>>' by ' » '
+    "/ do not replace '>>' by ' » '
     ^ javaClass name , '>>' , (self printStringForBrowserWithSelector:nil inClass:nil)
 
     "Created: / 13-06-2013 / 08:52:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -2595,8 +2597,12 @@
 !
 
 messagesSent
-    "return a collection of messages sent by this method"
-    ^ self analyzer messagesSent
+    "return a set-like collection with the message selectors sent by the receiver.
+     Uses Parser to parse methods source and extract the names.
+     The returned collection includes all used message selectors 
+     (i.e. including super-send messages)"
+
+     ^ self analyzer messagesSent
 
     "Modified: / 31-08-2013 / 10:43:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !