improve documentation of Groovy detection criteria