44
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1995 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 |
"
|
|
12 |
|
|
13 |
"Modified: 27.8.1995 / 22:50:41 / claus"
|
|
14 |
|
|
15 |
'From Smalltalk/X, Version:2.10.7 on 27-aug-1995 at 11:08:32 pm' !
|
|
16 |
|
|
17 |
MethodChange subclass:#MethodPrivacyChange
|
|
18 |
instanceVariableNames:'privacy'
|
|
19 |
classVariableNames:''
|
|
20 |
poolDictionaries:''
|
|
21 |
category:'System-Changes'
|
|
22 |
!
|
|
23 |
|
|
24 |
!MethodPrivacyChange class methodsFor:'documentation'!
|
|
25 |
|
|
26 |
copyright
|
|
27 |
"
|
|
28 |
COPYRIGHT (c) 1995 by Claus Gittinger
|
|
29 |
All Rights Reserved
|
|
30 |
|
|
31 |
This software is furnished under a license and may be used
|
|
32 |
only in accordance with the terms of that license and with the
|
|
33 |
inclusion of the above copyright notice. This software may not
|
|
34 |
be provided or otherwise made available to, or used by, any
|
|
35 |
other person. No title to or ownership of the software is
|
|
36 |
hereby transferred.
|
|
37 |
"
|
|
38 |
|
|
39 |
"Modified: 27.8.1995 / 22:50:41 / claus"
|
|
40 |
!
|
|
41 |
|
|
42 |
version
|
|
43 |
"
|
|
44 |
$Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.1 1995-08-27 23:19:30 claus Exp $
|
|
45 |
"
|
|
46 |
|
|
47 |
"Modified: 27.8.1995 / 22:50:34 / claus"
|
|
48 |
! !
|
|
49 |
|
|
50 |
!MethodPrivacyChange class methodsFor:'instance creation'!
|
|
51 |
|
|
52 |
class:cls selector:selector privacy:privacy
|
|
53 |
^ self basicNew class:cls selector:selector privacy:privacy
|
|
54 |
|
|
55 |
"Modified: 27.8.1995 / 22:55:42 / claus"
|
|
56 |
! !
|
|
57 |
|
|
58 |
!MethodPrivacyChange methodsFor:'accessing'!
|
|
59 |
|
|
60 |
class:cls selector:sel privacy:p
|
|
61 |
className := cls name.
|
|
62 |
privacy := p.
|
|
63 |
selector := sel
|
|
64 |
|
|
65 |
"Modified: 27.8.1995 / 22:56:03 / claus"
|
|
66 |
!
|
|
67 |
|
|
68 |
source
|
|
69 |
^ '(' , className , ' compiledMethodAt:#' , selector , ') privacy:' , privacy storeString
|
|
70 |
|
|
71 |
"Modified: 27.8.1995 / 22:56:58 / claus"
|
|
72 |
! !
|
|
73 |
|