JavaMethodType2.st
changeset 3106 e53888146940
child 3324 a58245c0e83a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/JavaMethodType2.st	Tue May 20 17:57:10 2014 +0100
@@ -0,0 +1,76 @@
+"
+ COPYRIGHT (c) 1996-2011 by Claus Gittinger
+
+ New code and modifications done at SWING Research Group [1]:
+
+ COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
+                            SWING Research Group, Czech Technical University in Prague
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+ [1] Code written at SWING Research Group contains a signature
+     of one of the above copright owners. For exact set of such code,
+     see the differences between this version and version stx:libjava
+     as of 1.9.2010
+"
+"{ Package: 'stx:libjava' }"
+
+JavaRef2 subclass:#JavaMethodType2
+	instanceVariableNames:'descriptorIndex'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Languages-Java-Reader-Support-new'
+!
+
+!JavaMethodType2 class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 1996-2011 by Claus Gittinger
+
+ New code and modifications done at SWING Research Group [1]:
+
+ COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
+                            SWING Research Group, Czech Technical University in Prague
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+ [1] Code written at SWING Research Group contains a signature
+     of one of the above copright owners. For exact set of such code,
+     see the differences between this version and version stx:libjava
+     as of 1.9.2010
+
+"
+! !
+
+!JavaMethodType2 class methodsFor:'instance creation'!
+
+in:constantPool index:refIndex 
+    ^ (self basicNew)
+        constantPool:constantPool;
+        descriptorIndex:refIndex;
+        yourself
+
+    "Created: / 20-05-2014 / 17:33:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!JavaMethodType2 methodsFor:'accessing'!
+
+descriptorIndex
+    ^ descriptorIndex
+!
+
+descriptorIndex:something
+    descriptorIndex := something.
+! !
+