Consider this:
package test56
class Test56 {
static Date foo(String foo) {
new Date()
}
static Date bar(String bar) {
foo(bar).clearTime()
}
}
Hit F2 or F3 over clearTime(): Greclipse thinks that the invoked method is org.codehaus.groovy.runtime.DateGroovyMethods.clearTime(java.sql.Date), but it is org.codehaus.groovy.runtime.DateGroovyMethods.clearTime(java.util.Date) indeed.