--- a/JavaMethodref.st Sat Mar 22 14:24:49 1997 +0000
+++ b/JavaMethodref.st Mon Mar 24 13:20:16 1997 +0000
@@ -22,6 +22,12 @@
!JavaMethodref methodsFor:'accessing'!
+argSignature
+ ^ JavaMethod argSigArrayFromSignature:(self signature)
+
+ "Created: 24.3.1997 / 12:22:50 / cg"
+!
+
lastClass
"return lastClass"
@@ -46,6 +52,12 @@
^ nameandType name.
!
+returnType
+ ^ JavaMethod returnTypeFromSignature:(self signature).
+
+ "Modified: 24.3.1997 / 12:25:11 / cg"
+!
+
selector
sel isNil ifTrue:[
sel := (nameandType name , nameandType signature) asSymbol.
@@ -104,13 +116,13 @@
mthd := class compiledMethodAt:sel.
mthd isNil ifTrue:[
- self halt:'no such method found'.
- ^ nil.
+"/ self halt:'no method found for: ' , self displayString.
+ ^ self.
].
mthd checkForNOOPMethod.
^ mthd
- "Modified: 20.3.1997 / 15:11:21 / cg"
+ "Modified: 24.3.1997 / 12:21:52 / cg"
!
methodFor:aClass
@@ -166,5 +178,5 @@
!JavaMethodref class methodsFor:'documentation'!
version
- ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethodref.st,v 1.22 1997/03/20 14:37:16 cg Exp $'
+ ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethodref.st,v 1.23 1997/03/24 13:20:16 cg Exp $'
! !