On 1 May 2015 at 16:48, Schalk Cronjé <[email protected]> wrote:
> I cannot figure out how to check for a constructor using respondsTo. If I
> had the following
>
> class ABC {
>   ABC(String s, File f) {}
> }
>
> How can I use respondsTo to see if the constructor exists?

It appears that you cannot. There's a
`MetaClassImpl#retrieveConstructor(Class[])` that may help, or one can
always fallback to Java reflection API.

Cheers,
Dinko

>
> --
> Schalk W. Cronjé
> Twitter / Ello / Toeter : @ysb33r

Reply via email to