# HG changeset patch # User Claus Gittinger # Date 1562695789 -7200 # Node ID 5e743d31adf7c2702bdf768fb0edfd091d9e4a70 # Parent 1999ba4ed95455a7da32b3c69a09132b01cd6f8b #DOCUMENTATION by exept class: JavaMethod comment/format in: #messagesSent diff -r 1999ba4ed954 -r 5e743d31adf7 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 " @@ -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 " !