src/JavaClassRef2.st
branchjk_new_structure
changeset 752 ff7bc6428c9c
child 758 be8e84381ce0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/JavaClassRef2.st	Fri Apr 08 12:02:36 2011 +0000
@@ -0,0 +1,54 @@
+"{ Package: 'stx:libjava' }"
+
+JavaRef2 subclass:#JavaClassRef2
+	instanceVariableNames:'nameString'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Languages-Java-Reader-Support-new'
+!
+
+
+!JavaClassRef2 class methodsFor:'instance creation'!
+
+for:arg
+    "Create & return a new instance for arg."
+
+    ^ self basicNew initializeFor:arg
+! !
+
+!JavaClassRef2 methodsFor:'comparing'!
+
+= anotherJavaRef
+    "superclass JavaRef2 says that I am responsible to implement this method"
+
+    ^ self shouldImplement
+!
+
+hash
+    "superclass JavaRef2 says that I am responsible to implement this method"
+
+    ^ self shouldImplement
+! !
+
+!JavaClassRef2 methodsFor:'initialization'!
+
+initializeFor: anInternalJavaClassName 
+    nameString := anInternalJavaClassName.    
+    super initialize.
+
+    "Modified: / 08-04-2011 / 11:51:55 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+! !
+
+!JavaClassRef2 methodsFor:'private - resolving'!
+
+findResolvedValue
+    "Resolve reference and set valueCache and isResolved."
+
+    ^ self shouldImplement
+! !
+
+!JavaClassRef2 class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id$'
+! !