ClassBuilder.st
branchjv
changeset 17795 569eec7576f1
parent 17780 b6e42c92eba0
child 17807 06cc6c49e291
equal deleted inserted replaced
17794:da075fbea903 17795:569eec7576f1
   153     "copy all methods from oldClass to newClass. Those methods accessing
   153     "copy all methods from oldClass to newClass. Those methods accessing
   154      a variable in setOfNames will be copied as invalid method, leading to
   154      a variable in setOfNames will be copied as invalid method, leading to
   155      a trap when its executed. This is used when a class has changed its
   155      a trap when its executed. This is used when a class has changed its
   156      layout for all methods which are affected by the change."
   156      layout for all methods which are affected by the change."
   157 
   157 
   158     self copyInvalidatedMethodsFrom:oldClass 
   158     self 
   159                                 for:newClass 
   159         copyInvalidatedMethodsFrom:oldClass 
   160                        accessingAny:setOfNames 
   160         for:newClass 
   161                             orSuper:false 
   161         accessingAny:setOfNames 
       
   162         orSuper:false
       
   163 
       
   164     "Modified: / 02-08-2010 / 16:40:30 / cg"
   162 !
   165 !
   163 
   166 
   164 copyInvalidatedMethodsFrom:oldClass for:newClass accessingAny:setOfNames orSuper:superBoolean
   167 copyInvalidatedMethodsFrom:oldClass for:newClass accessingAny:setOfNames orSuper:superBoolean
   165     "copy all methods from oldClass to newClass. 
   168     "copy all methods from oldClass to newClass. 
   166      Those methods accessing a variable in setOfNames will be copied as invalid method, 
   169      Those methods accessing a variable in setOfNames will be copied as invalid method, 
  2220 ! !
  2223 ! !
  2221 
  2224 
  2222 !ClassBuilder class methodsFor:'documentation'!
  2225 !ClassBuilder class methodsFor:'documentation'!
  2223 
  2226 
  2224 version
  2227 version
  2225     ^ '$Id: ClassBuilder.st 10544 2010-07-12 16:20:36Z vranyj1 $'
  2228     ^ '$Id: ClassBuilder.st 10564 2010-08-10 08:55:15Z vranyj1 $'
  2226 !
  2229 !
  2227 
  2230 
  2228 version_CVS
  2231 version_CVS
  2229     ^ 'Header: /cvs/stx/stx/libbasic/ClassBuilder.st,v 1.94 2010/07/11 14:37:58 cg Exp '
  2232     ^ 'Header: /cvs/stx/stx/libbasic/ClassBuilder.st,v 1.95 2010/08/02 16:23:53 cg Exp '
  2230 !
  2233 !
  2231 
  2234 
  2232 version_SVN
  2235 version_SVN
  2233     ^ '$Id: ClassBuilder.st 10544 2010-07-12 16:20:36Z vranyj1 $'
  2236     ^ '$Id: ClassBuilder.st 10564 2010-08-10 08:55:15Z vranyj1 $'
  2234 ! !
  2237 ! !
  2235 
  2238 
  2236 
  2239 
  2237 
  2240 
  2238 
  2241 
       
  2242