--- a/src/JavaRef2.st Thu May 12 17:22:54 2011 +0000
+++ b/src/JavaRef2.st Fri May 13 06:55:55 2011 +0000
@@ -1,7 +1,7 @@
"{ Package: 'stx:libjava' }"
Object subclass:#JavaRef2
- instanceVariableNames:'valueCache constantPool owner'
+ instanceVariableNames:'valueCache constantPool'
classVariableNames:''
poolDictionaries:''
category:'Languages-Java-Reader-Support-new'
@@ -69,11 +69,15 @@
!
owner
- ^ owner
+ ^ constantPool owner.
+
+ "Modified: / 12-05-2011 / 18:31:34 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
!
-owner:something
- owner := something.
+owner: javaClass
+ constantPool owner: javaClass.
+
+ "Modified: / 12-05-2011 / 18:32:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
!
valueCache
@@ -196,11 +200,12 @@
!
updateClassRefsFrom: oldOwner to: newOwner
- owner = oldOwner ifTrue: [ owner := newOwner. ].
+ self owner = oldOwner ifTrue: [ self owner: newOwner. ].
self info: 'updating class refs from: ' , oldOwner printString , ' to '
, newOwner printString.
"Created: / 10-05-2011 / 16:50:48 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+ "Modified: / 12-05-2011 / 18:31:25 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
! !
!JavaRef2 class methodsFor:'documentation'!