Re: Possible to use reflection to get constructor params/args



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Petterson Mikael schreef:
Hi,

Is it possible to use reflection to get the param/arg names i and d in
second constructor? ( I am using jdk 1.4).

cheers,

//mikael

public class Constructor1 {
public Constructor1()
{
}

protected Constructor1(int i, double d)
{
}
}

The names are absolutely meaningless, except in the inners of the
method, so there is absolutely no reason to want to get them. What do
you REALLY want?

H.
- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEookbe+7xMGD3itQRAtcdAJ9Q6A8LgNjJEKlQ/yxgaQLoJQho/ACdF/N1
3QTlA9M1/kB+HXOiqwxsvCM=
=A+Kz
-----END PGP SIGNATURE-----
.