|
Class: MethodCategoryChange
Object
|
+--Change
|
+--ClassChange
|
+--MethodChange
|
+--MethodCategoryChange
- Package:
- stx:libbasic3
- Category:
- System-Changes
- Version:
- rev:
1.26
date: 2021/01/20 15:27:25
- user: cg
- file: MethodCategoryChange.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
instances represent method-category changes (as done in the browser).
They are typically held in a ChangeSet.
Change origin.
When a changeset diff is generated, two MethodChanges that
represent the same method (code is the same) might differ only in
category/ Such changes are transformed to MethodCategoruChanges.
In that case, origin keeps the reference to original MethodChange.
[instance variables:]
origin <MethodChange> Change that cause this category
change to be created. See comment.
copyrightCOPYRIGHT (c) 1993 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.
instance creation
-
class: cls selector: sel category: cat
-
-
className: clsName selector: sel category: cat
-
accessing
-
class: cls selector: sel category: cat
-
-
className: clsName selector: sel category: cat
-
-
origin
-
-
origin: aMethodChange
-
-
prettyPrintedSource
-
(comment from inherited method)
return the prettyPrinted or normal source of the change
-
source
-
(comment from inherited method)
return the source of the change
-
source: aString
-
(comment from inherited method)
set the source of the change
applying
-
apply
-
apply the change
fileout
-
fileOutOn: aStream
-
testing
-
isMethodCategoryChange
-
-
isMethodCodeChange
-
true if this is a method's code change (not package, category etc.)
visiting
-
acceptChangeVisitor: aVisitor
-
|