for for Grails: ensure generics resolving loop handles interfaces better