MethodPrivacyChange.st
author Claus Gittinger <cg@exept.de>
Thu, 25 Apr 1996 19:05:13 +0200
changeset 235 3ebfdc6edab9
parent 86 69f0bebb80be
child 654 edeb63d98088
permissions -rw-r--r--
documentation

"
 COPYRIGHT (c) 1995 by Claus Gittinger
	       All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"

MethodChange subclass:#MethodPrivacyChange
	instanceVariableNames:'privacy'
	classVariableNames:''
	poolDictionaries:''
	category:'System-Changes'
!

!MethodPrivacyChange class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1995 by Claus Gittinger
	       All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
!

documentation
"
    instances represent method-privacy changes (as done in the browser). 
    They are typically held in a ChangeSet.

    [author:]
        Claus Gittinger
"
! !

!MethodPrivacyChange class methodsFor:'instance creation'!

class:cls selector:selector privacy:privacy 
    ^ self basicNew class:cls selector:selector privacy:privacy

    "Modified: 27.8.1995 / 22:55:42 / claus"
! !

!MethodPrivacyChange methodsFor:'accessing'!

class:cls selector:sel privacy:p
    className := cls name.
    privacy := p.
    selector := sel

    "Modified: 27.8.1995 / 22:56:03 / claus"
!

source
    ^ '(' , className , ' compiledMethodAt:#' , selector , ') privacy:' , privacy storeString

    "Modified: 27.8.1995 / 22:56:58 / claus"
! !

!MethodPrivacyChange class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.6 1996-04-25 17:04:19 cg Exp $'
! !