groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frenchy48 <bam...@in2p3.fr>
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
aliasing.

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: http://groovy.329449.n5.nabble.com/aliasing-methods-tp5732316p5732318.html
Sent from the Groovy Users mailing list archive at Nabble.com.

Mime
View raw message