44
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1995 by Claus Gittinger
|
45
|
3 |
All Rights Reserved
|
44
|
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 |
"
|
957
|
12 |
"{ Package: 'stx:libbasic3' }"
|
|
13 |
|
44
|
14 |
MethodChange subclass:#MethodPrivacyChange
|
654
|
15 |
instanceVariableNames:''
|
235
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
|
18 |
category:'System-Changes'
|
44
|
19 |
!
|
|
20 |
|
|
21 |
!MethodPrivacyChange class methodsFor:'documentation'!
|
|
22 |
|
|
23 |
copyright
|
|
24 |
"
|
|
25 |
COPYRIGHT (c) 1995 by Claus Gittinger
|
45
|
26 |
All Rights Reserved
|
44
|
27 |
|
|
28 |
This software is furnished under a license and may be used
|
|
29 |
only in accordance with the terms of that license and with the
|
|
30 |
inclusion of the above copyright notice. This software may not
|
|
31 |
be provided or otherwise made available to, or used by, any
|
|
32 |
other person. No title to or ownership of the software is
|
|
33 |
hereby transferred.
|
|
34 |
"
|
|
35 |
!
|
|
36 |
|
45
|
37 |
documentation
|
|
38 |
"
|
|
39 |
instances represent method-privacy changes (as done in the browser).
|
|
40 |
They are typically held in a ChangeSet.
|
235
|
41 |
|
|
42 |
[author:]
|
|
43 |
Claus Gittinger
|
45
|
44 |
"
|
44
|
45 |
! !
|
|
46 |
|
|
47 |
!MethodPrivacyChange class methodsFor:'instance creation'!
|
|
48 |
|
|
49 |
class:cls selector:selector privacy:privacy
|
|
50 |
^ self basicNew class:cls selector:selector privacy:privacy
|
|
51 |
|
|
52 |
"Modified: 27.8.1995 / 22:55:42 / claus"
|
2118
|
53 |
!
|
|
54 |
|
|
55 |
className:aString selector:selector privacy:privacy
|
|
56 |
^ self basicNew className:aString selector:selector privacy:privacy
|
44
|
57 |
! !
|
|
58 |
|
|
59 |
!MethodPrivacyChange methodsFor:'accessing'!
|
|
60 |
|
|
61 |
class:cls selector:sel privacy:p
|
|
62 |
className := cls name.
|
|
63 |
privacy := p.
|
|
64 |
selector := sel
|
|
65 |
|
|
66 |
"Modified: 27.8.1995 / 22:56:03 / claus"
|
|
67 |
!
|
|
68 |
|
654
|
69 |
className:clsName selector:sel privacy:p
|
|
70 |
className := clsName.
|
|
71 |
privacy := p.
|
|
72 |
selector := sel
|
|
73 |
|
|
74 |
"Modified: / 27.8.1995 / 22:56:03 / claus"
|
|
75 |
"Created: / 16.2.1998 / 14:25:39 / cg"
|
|
76 |
!
|
|
77 |
|
44
|
78 |
source
|
1844
|
79 |
^ self sourceForMethod , ' privacy:' , privacy storeString
|
44
|
80 |
|
1844
|
81 |
"Modified: / 27-08-1995 / 22:56:58 / claus"
|
|
82 |
"Modified: / 09-10-2006 / 13:59:35 / cg"
|
44
|
83 |
! !
|
235
|
84 |
|
2261
|
85 |
!MethodPrivacyChange methodsFor:'testing'!
|
|
86 |
|
|
87 |
isMethodCodeChange
|
|
88 |
"true if this is a method's code change (not package, category etc.)"
|
|
89 |
|
|
90 |
^ false
|
|
91 |
! !
|
|
92 |
|
235
|
93 |
!MethodPrivacyChange class methodsFor:'documentation'!
|
|
94 |
|
|
95 |
version
|
2261
|
96 |
^ '$Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.11 2010-04-14 13:40:33 cg Exp $'
|
|
97 |
!
|
|
98 |
|
|
99 |
version_CVS
|
|
100 |
^ '$Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.11 2010-04-14 13:40:33 cg Exp $'
|
235
|
101 |
! !
|