GROOVY-7162: Handle @Immutable in class hierarchy?