GROOVY-6294: javadoc improvement