groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frenchy48 <>
Subject Re: aliasing methods
Date Wed, 13 Apr 2016 08:39:02 GMT
a code example?
well almost everything is in the initial post
I read the resource I get the name of a Class, the name of a method and the
name for the alias for this method
the code will add the alias to the metaclass of the named class (suppose
this class to be "java.awt.Frame")
later user of the library will just code using

so now my problem is just to precisely get the best code to implement this

the code I have  shown in the initial post works but is prone to bugs (when
there is a real null arg to the method invocation)

member of Grumpy Old Programmers
View this message in context:
Sent from the Groovy Users mailing list archive at

View raw message