Sorry, I'd like to withdraw my previous posting ;-) The example I gave was plain wrong. Correct would have been: 'customerDao::getCustomer' vs. 'id -> customerDao.getCustomer(id)' which obviously makes the point I was trying to make moot.