groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
Subject Re: About extracting common methods to reduce the size of class files
Date Tue, 23 Jan 2018 14:25:22 GMT
> Oh you compare wrong. groovyObj.foo() would still work.
That's great!

`groovyObj.invokeMethod("foo", EMPTY_OBJECT_ARRAY) ` is not better than
`InvokerHelper.invokeMethod(groovyObj, "foo", EMPTY_OBJECT_ARRAY) `, so I
think it is OK to change :)

Cheers,
Daniel.Sun



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message