author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sat, 31 Mar 2012 01:14:49 +0100 | |
branch | jv |
changeset 3042 | 48e76977cdc3 |
parent 3012 | 4f40b8304d54 |
child 3121 | 19723298dd2c |
child 3125 | 08d6603c4fe9 |
permissions | -rw-r--r-- |
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 |
|
3042
48e76977cdc3
Added info-record processing support into changeset reader
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3012
diff
changeset
|
96 |
^ '$Id: MethodPrivacyChange.st 1909 2012-03-31 00:14:49Z vranyj1 $' |
2261 | 97 |
! |
98 |
||
99 |
version_CVS |
|
3011
1997ff6e7e55
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2261
diff
changeset
|
100 |
^ '§Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.11 2010/04/14 13:40:33 cg Exp §' |
3012 | 101 |
! |
102 |
||
103 |
version_SVN |
|
3042
48e76977cdc3
Added info-record processing support into changeset reader
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3012
diff
changeset
|
104 |
^ '$Id: MethodPrivacyChange.st 1909 2012-03-31 00:14:49Z vranyj1 $' |
3012 | 105 |
! ! |