MethodPrivacyChange.st
author Claus Gittinger <cg@exept.de>
Thu, 23 Nov 1995 02:55:37 +0100
changeset 85 c354e2f81394
parent 68 5f7ac0b5c903
child 86 69f0bebb80be
permissions -rw-r--r--
checkin from browser

"
 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.
"

    "Modified: 27.8.1995 / 22:50:41 / claus"

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.
"

    "Modified: 27.8.1995 / 22:50:41 / claus"
!

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

version
    ^ '$Header: /cvs/stx/stx/libbasic3/MethodPrivacyChange.st,v 1.4 1995-11-23 01:55:37 cg Exp $'
! !

!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"
! !