GROOVY-3971: adding method to class in ASTBuilder not working (now supports methods, fields, properties, constructors)