author | Patrik Svestka <patrik.svestka@gmail.com> |
Wed, 17 Feb 2021 15:24:09 +0100 | |
branch | jv |
changeset 4568 | 524471ef6575 |
parent 4384 | e28fcaaf93c7 |
permissions | -rw-r--r-- |
4384
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3128
diff
changeset
|
1 |
"{ Encoding: utf8 }" |
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3128
diff
changeset
|
2 |
|
44 | 3 |
" |
4 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
45 | 5 |
All Rights Reserved |
44 | 6 |
|
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
957 | 14 |
"{ Package: 'stx:libbasic3' }" |
15 |
||
44 | 16 |
MethodChange subclass:#MethodPrivacyChange |
654 | 17 |
instanceVariableNames:'' |
235 | 18 |
classVariableNames:'' |
19 |
poolDictionaries:'' |
|
20 |
category:'System-Changes' |
|
44 | 21 |
! |
22 |
||
23 |
!MethodPrivacyChange class methodsFor:'documentation'! |
|
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
45 | 28 |
All Rights Reserved |
44 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
45 | 39 |
documentation |
40 |
" |
|
41 |
instances represent method-privacy changes (as done in the browser). |
|
42 |
They are typically held in a ChangeSet. |
|
235 | 43 |
|
44 |
[author:] |
|
45 |
Claus Gittinger |
|
45 | 46 |
" |
44 | 47 |
! ! |
48 |
||
49 |
!MethodPrivacyChange class methodsFor:'instance creation'! |
|
50 |
||
51 |
class:cls selector:selector privacy:privacy |
|
52 |
^ self basicNew class:cls selector:selector privacy:privacy |
|
53 |
||
54 |
"Modified: 27.8.1995 / 22:55:42 / claus" |
|
2118 | 55 |
! |
56 |
||
57 |
className:aString selector:selector privacy:privacy |
|
58 |
^ self basicNew className:aString selector:selector privacy:privacy |
|
44 | 59 |
! ! |
60 |
||
61 |
!MethodPrivacyChange methodsFor:'accessing'! |
|
62 |
||
63 |
class:cls selector:sel privacy:p |
|
64 |
className := cls name. |
|
65 |
privacy := p. |
|
66 |
selector := sel |
|
67 |
||
68 |
"Modified: 27.8.1995 / 22:56:03 / claus" |
|
69 |
! |
|
70 |
||
654 | 71 |
className:clsName selector:sel privacy:p |
72 |
className := clsName. |
|
73 |
privacy := p. |
|
74 |
selector := sel |
|
75 |
||
76 |
"Modified: / 27.8.1995 / 22:56:03 / claus" |
|
77 |
"Created: / 16.2.1998 / 14:25:39 / cg" |
|
78 |
! |
|
79 |
||
44 | 80 |
source |
1844 | 81 |
^ self sourceForMethod , ' privacy:' , privacy storeString |
44 | 82 |
|
1844 | 83 |
"Modified: / 27-08-1995 / 22:56:58 / claus" |
84 |
"Modified: / 09-10-2006 / 13:59:35 / cg" |
|
44 | 85 |
! ! |
235 | 86 |
|
2261 | 87 |
!MethodPrivacyChange methodsFor:'testing'! |
88 |
||
89 |
isMethodCodeChange |
|
90 |
"true if this is a method's code change (not package, category etc.)" |
|
91 |
||
92 |
^ false |
|
93 |
! ! |
|
94 |
||
235 | 95 |
!MethodPrivacyChange class methodsFor:'documentation'! |
96 |
||
97 |
version |
|
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
98 |
^ '$Header: MethodPrivacyChange.st 1909 2012-03-31 00:14:49Z vranyj1 $' |
2261 | 99 |
! |
100 |
||
101 |
version_CVS |
|
4384
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3128
diff
changeset
|
102 |
^ '§Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.11 2010/04/14 13:40:33 cg Exp §' |
3012 | 103 |
! |
104 |
||
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
105 |
version_HG |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
106 |
|
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
107 |
^ '$Changeset: <not expanded> $' |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
108 |
! |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
109 |
|
3012 | 110 |
version_SVN |
4384
e28fcaaf93c7
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
3128
diff
changeset
|
111 |
^ '§Id: MethodPrivacyChange.st 1909 2012-03-31 00:14:49Z vranyj1 §' |
3012 | 112 |
! ! |
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3042
diff
changeset
|
113 |