JavaMethod.st
branchcvs_MAIN
changeset 3922 5e743d31adf7
parent 3694 4479583d196f
child 3942 e6b2235d6f0c
equal deleted inserted replaced
3921:1999ba4ed954 3922:5e743d31adf7
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 1996-2015 by Claus Gittinger
     4  COPYRIGHT (c) 1996-2015 by Claus Gittinger
     3 
     5 
     4  New code and modifications done at SWING Research Group [1]:
     6  New code and modifications done at SWING Research Group [1]:
     5 
     7 
  2332 
  2334 
  2333 whoString
  2335 whoString
  2334     "return a string as className>>selector. Used with debugging."
  2336     "return a string as className>>selector. Used with debugging."
  2335 
  2337 
  2336     "/ in order to not break existing code which parses those strings,
  2338     "/ in order to not break existing code which parses those strings,
  2337     "/ do not replace '>>' by ' » '
  2339     "/ do not replace '>>' by ' » '
  2338     ^ javaClass name , '>>' , (self printStringForBrowserWithSelector:nil inClass:nil)
  2340     ^ javaClass name , '>>' , (self printStringForBrowserWithSelector:nil inClass:nil)
  2339 
  2341 
  2340     "Created: / 13-06-2013 / 08:52:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2342     "Created: / 13-06-2013 / 08:52:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2341 ! !
  2343 ! !
  2342 
  2344 
  2593     "Modified: / 14-01-1998 / 13:30:54 / cg"
  2595     "Modified: / 14-01-1998 / 13:30:54 / cg"
  2594     "Modified: / 13-09-2013 / 02:11:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2596     "Modified: / 13-09-2013 / 02:11:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2595 !
  2597 !
  2596 
  2598 
  2597 messagesSent
  2599 messagesSent
  2598     "return a collection of messages sent by this method"
  2600     "return a set-like collection with the message selectors sent by the receiver.
  2599     ^ self analyzer messagesSent
  2601      Uses Parser to parse methods source and extract the names.
       
  2602      The returned collection includes all used message selectors 
       
  2603      (i.e. including super-send messages)"
       
  2604 
       
  2605      ^ self analyzer messagesSent
  2600 
  2606 
  2601     "Modified: / 31-08-2013 / 10:43:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2607     "Modified: / 31-08-2013 / 10:43:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2602 !
  2608 !
  2603 
  2609 
  2604 overwrites: anotherMethod
  2610 overwrites: anotherMethod