eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MethodCategoryChange':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MethodCategoryChange


Inheritance:

   Object
   |
   +--Change
      |
      +--ClassChange
         |
         +--MethodChange
            |
            +--MethodCategoryChange

Package:
stx:libbasic3
Category:
System-Changes
Version:
rev: 1.25 date: 2017/11/30 12:04:45
user: cg
file: MethodCategoryChange.st directory: libbasic3
module: stx stc-classLibrary: libbasic3
Author:
Claus Gittinger
Jan Vrany

Description:


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.


Class protocol:

instance creation
o  class: cls selector: sel category: cat

o  className: clsName selector: sel category: cat


Instance protocol:

accessing
o  class: cls selector: sel category: cat

o  className: clsName selector: sel category: cat

o  origin

o  origin: aMethodChange

o  prettyPrintedSource
(comment from inherited method)
return the prettyPrinted or normal source of the change

o  source
(comment from inherited method)
return the source of the change

o  source: aString
(comment from inherited method)
set the source of the change

applying
o  apply
apply the change

fileout
o  fileOutOn: aStream

testing
o  isMethodCategoryChange

o  isMethodCodeChange
true if this is a method's code change (not package, category etc.)

visiting
o  acceptChangeVisitor: aVisitor



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 18:28:12 GMT