Article View: borland.public.jbuilder.java.language
Article #617Re: Reflection on invoking methods
From: John McGrath [TeamB]
Date: Wed, 30 Mar 2005 06:49
Date: Wed, 30 Mar 2005 06:49
18 lines
1550 bytes
1550 bytes
On 3/29/2005 at 2:38:03 PM, Shankar Unni wrote:
> The last formal parameter (according to the reflection API) for varargs
> methods will be an Object[] array - you pass all the variadic arguments
> in that array.
That is true if the method was declared with Object..., but if the type of
the varargs parameter was of a different type, the last parameter will be
an array of that type.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<xn0e0crhj3igici00h@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4248c14d$1@newsgroups.borland.com> <4249ae9a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,837487ca0499b687 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: Reflection on invoking methods Newsgroups: borland.public.jbuilder.java.language References: <4248c14d$1@newsgroups.borland.com> <4249ae9a$1@newsgroups.borland.com> User-Agent: XanaNews/1.17.3.1 Message-ID: <xn0e0crhj3igici00h@newsgroups.borland.com> X-Ref: newsgroups.borland.com ~XNS:00000333 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 141.158.33.210 Date: 29 Mar 2005 22:49:11 -0800 X-Trace: newsgroups.borland.com 1112165351 141.158.33.210 (29 Mar 2005 22:49:11 -0800) Lines: 18 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail