equal
deleted
inserted
replaced
51 as of 1.9.2010 |
51 as of 1.9.2010 |
52 |
52 |
53 " |
53 " |
54 ! ! |
54 ! ! |
55 |
55 |
56 |
|
57 !JavaMethodDescriptor class methodsFor:'instance creation'! |
56 !JavaMethodDescriptor class methodsFor:'instance creation'! |
58 |
57 |
59 name: name parameters: parameterDescriptors |
58 name: name parameters: parameterDescriptors |
60 |
59 |
61 ^self new |
60 ^self new |
85 yourself |
84 yourself |
86 |
85 |
87 "Created: / 25-11-2010 / 18:45:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
86 "Created: / 25-11-2010 / 18:45:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
88 ! ! |
87 ! ! |
89 |
88 |
90 |
|
91 !JavaMethodDescriptor methodsFor:'accessing'! |
89 !JavaMethodDescriptor methodsFor:'accessing'! |
92 |
90 |
93 name |
91 name |
94 ^ name |
92 ^ name |
95 ! |
93 ! |
151 ] |
149 ] |
152 |
150 |
153 "Created: / 16-08-2012 / 12:54:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
151 "Created: / 16-08-2012 / 12:54:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
154 ! ! |
152 ! ! |
155 |
153 |
156 |
|
157 !JavaMethodDescriptor methodsFor:'comparing'! |
154 !JavaMethodDescriptor methodsFor:'comparing'! |
158 |
155 |
159 = another |
156 = another |
160 |
157 |
161 ^ self class == another class |
158 ^ self class == another class |
187 ^true |
184 ^true |
188 |
185 |
189 "Created: / 06-12-2011 / 22:55:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
186 "Created: / 06-12-2011 / 22:55:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
190 ! ! |
187 ! ! |
191 |
188 |
192 |
|
193 !JavaMethodDescriptor methodsFor:'initialization'! |
189 !JavaMethodDescriptor methodsFor:'initialization'! |
194 |
190 |
195 name: aString |
191 name: aString |
196 "Sets the method name" |
192 "Sets the method name" |
197 |
193 |
207 ! |
203 ! |
208 |
204 |
209 return:something |
205 return:something |
210 return := something. |
206 return := something. |
211 ! ! |
207 ! ! |
212 |
|
213 |
208 |
214 !JavaMethodDescriptor methodsFor:'queries'! |
209 !JavaMethodDescriptor methodsFor:'queries'! |
215 |
210 |
216 numArgs |
211 numArgs |
217 |
212 |
229 ^parameters inject: 0 into:[:slots :fdesc|slots + fdesc slots]. |
224 ^parameters inject: 0 into:[:slots :fdesc|slots + fdesc slots]. |
230 |
225 |
231 "Created: / 16-12-2011 / 00:24:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
226 "Created: / 16-12-2011 / 00:24:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
232 ! ! |
227 ! ! |
233 |
228 |
234 |
|
235 !JavaMethodDescriptor class methodsFor:'documentation'! |
229 !JavaMethodDescriptor class methodsFor:'documentation'! |
236 |
230 |
237 version_CVS |
231 version_CVS |
238 ^ '$Header: /cvs/stx/stx/libjava/JavaMethodDescriptor.st,v 1.5 2013-02-25 11:15:31 vrany Exp $' |
232 ^ '$Header$' |
239 ! |
233 ! |
240 |
234 |
241 version_HG |
235 version_HG |
242 |
236 |
243 ^ '$Changeset: <not expanded> $' |
237 ^ '$Changeset: <not expanded> $' |