4
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1993 by Claus Gittinger
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
0
|
12 |
|
|
13 |
ClassChange subclass:#MethodChange
|
|
14 |
instanceVariableNames:'selector'
|
|
15 |
classVariableNames:''
|
|
16 |
poolDictionaries:''
|
|
17 |
category:'System-Changes'
|
|
18 |
!
|
|
19 |
|
|
20 |
!MethodChange class methodsFor:'instance creation'!
|
|
21 |
|
|
22 |
class:cls selector:sel source:src
|
|
23 |
^ self basicNew class:cls selector:sel source:src
|
|
24 |
! !
|
|
25 |
|
|
26 |
!MethodChange methodsFor:'accessing'!
|
|
27 |
|
|
28 |
class:cls selector:sel source:src
|
|
29 |
className := cls name.
|
|
30 |
selector := sel.
|
|
31 |
source := src
|
|
32 |
! !
|
|
33 |
|
|
34 |
!MethodChange methodsFor:'printing'!
|
|
35 |
|
|
36 |
printString
|
|
37 |
^ className , ' ' , selector
|
|
38 |
! !
|
|
39 |
|