groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schalk Cronjé <ysb...@gmail.com>
Subject respondsTo and constructors
Date Fri, 01 May 2015 14:48:54 GMT
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?

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


Mime
View raw message