|
Class: MethodChange
Object
|
+--Change
|
+--ClassChange
|
+--MethodChange
|
+--MethodCategoryChange
|
+--MethodChange::NamedMethodChange
|
+--MethodDefinitionChange
|
+--MethodPackageChange
|
+--MethodPrivacyChange
|
+--MethodRemoveChange
- Package:
- stx:libbasic3
- Category:
- System-Changes
- Version:
- rev:
1.88
date: 2017/06/18 20:46:11
- user: cg
- file: MethodChange.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
- Author:
- Claus Gittinger
instances represent method-changes (as done in the browser).
They are typically held in a ChangeSet.
instance creation
-
class: cls selector: sel source: src category: cat
-
-
className: clsName selector: sel source: src category: cat
-
accessing
-
category
-
-
category: aCategory
-
-
changeMethod
-
-
changeSelector
-
(comment from inherited method)
the selector, if it is a method change. Nil oherwise
-
class: cls selector: sel source: src category: cat
-
-
classIsJava
-
Returns true, if this change is for Java class (i.e., if it is for
Smalltalk method that extends Java class)
-
classIsJava: aBoolean
-
Sets whether this change is for Java class (i.e., if it is for
Smalltalk method that extends Java class)
-
className
-
(comment from inherited method)
Returns class name of the class as it was present in the original change.
For changes from a file with namespace override, this will be the
className *without* toplevel namespace, but with all owning classes
(if the change class is a private class).
For changes generated internally (by the browser), this will be the full name,
and the namespace override will be nil.
cg: this is all very confusing and needs some cleanup.
However it will be done, any change here needs checks in all users of this code.
-
className: clsName selector: sel source: src category: cat
-
-
className: clsName selector: sel source: src category: cat privacy: priv
-
-
delta
-
obsolete: please use deltaDetail
-
deltaDetail
-
Returns a delta to the current state as a ChangeDelta object
-
imageSource
-
return the source for the in-image version of the method
-
methodCategory
-
-
previousPackage
-
-
previousVersion
-
return the value of the instance variable 'previousVersion' (automatically generated)
-
previousVersion: something
-
set the value of the instance variable 'previousVersion' (automatically generated)
-
previousVersionSource
-
return the value of the instance variable 'previousVersion' (automatically generated)
-
privacy
-
-
selector
-
-
selector: aSymbol
-
applying
-
apply
-
apply the change
comparing
-
isConflict
-
true if this change is different than what is already in the image
(i.e. it overwrites some existing code)
-
isForSameAs: changeB
-
return true, if the given change represents a change for the same
thingy as the receiver (i.e. same method, same definition etc.).
-
sameAs: changeB
-
return true, if the given change represents the same change as the receiver.
converting
-
asNamedMethodChange
-
fileout
-
basicFileOutOn: aStream
-
self printClassNameOn:aStream.
printing & storing
-
printOn: aStream
-
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.
-
printWithoutClassNameOn: aStream
-
-
printWithoutOwningClassOn: aStream
-
-
sourceForMethod
-
testing
-
isMethodChange
-
true if this is a method related change
-
isMethodChangeForCopyrightMethod
-
(comment from inherited method)
Return true if this is a change of #copyright method
-
isMethodChangeForExtensionsVersionMethod
-
true if this is a change for an extensionsVersion method
-
isMethodChangeForVersionMethod
-
true if this is a change for a version method
-
isMethodCodeChange
-
true if this is a method's code change (not package, category etc.)
visiting
-
acceptChangeVisitor: aVisitor
-
NamedMethodChange
|