IDEA-101217: suggest 'def' only in Groovy templates