From users-return-4308-apmail-groovy-users-archive=groovy.apache.org@groovy.apache.org Fri Apr 17 08:15:55 2020 Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 5F5FC19494 for ; Fri, 17 Apr 2020 08:15:55 +0000 (UTC) Received: (qmail 51573 invoked by uid 500); 17 Apr 2020 08:15:54 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 51553 invoked by uid 500); 17 Apr 2020 08:15:54 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 51541 invoked by uid 99); 17 Apr 2020 08:15:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2020 08:15:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 69CADC1E80 for ; Fri, 17 Apr 2020 08:15:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.203 X-Spam-Level: X-Spam-Status: No, score=0.203 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=alepe-com.20150623.gappssmtp.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id YK542DqPU5_j for ; Fri, 17 Apr 2020 08:15:51 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::c31; helo=mail-oo1-xc31.google.com; envelope-from=dev@alepe.com; receiver= Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id DD3FC7FB54 for ; Fri, 17 Apr 2020 08:15:50 +0000 (UTC) Received: by mail-oo1-xc31.google.com with SMTP id t3so284574oou.8 for ; Fri, 17 Apr 2020 01:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alepe-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=g2d+96zXYYUrb2e30UZ0eHoa9a8zXpWInYk+b/uzdtA=; b=NV/idjLGH0Niz3WYQzOZzdTPxwSUA8pYE0QIiB9sVVIxuHKCZd4MBwPwwd7Qu06fwj uxTn1yUBYxyzxsjItkz/AZgnj7y/BHnRBfRJjrwXqI6FVF6TQubBSMrwjoMM+8mVjIrb JIGO2oh5L8XVRM+Cow8tF3GEpiVZDGyE/eqPIfyfASATEULkP84+CgxS8bNGk1KoK5Fm 5/rDMhO3rioilCMpMv4ZOYohqsew9dQYG9udBLaRrkDvVcXTtNhfiIi2gCFeHZpmVLFz aEkTicR63wQfmtbIssNmRZUD4Cg/+n9yXsRL+pXMCaiiO0g3ZEiPRSk6etic2Rz781Fr eE1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=g2d+96zXYYUrb2e30UZ0eHoa9a8zXpWInYk+b/uzdtA=; b=eXKPsXk8Q5EfwotJ6CtZoXc9OKvc5OqTf2QGdLG8UXHJSOMo3HtKiHHZqF+BWa3Rge JVyDlCIfcu3tfkry2b1qsOXVUoToEE0Z9nx7BaMAbSZhLkkgs8ZJBBJyCAbXApW42Yk3 xKr5ylXvsXEJ7YpG6/KI97kxQWgJ7h2x3DwTpeJ/IUMhdBz10GcCLBBzqQWRDU1rxywf 1StL23L4TEmgKpy6eyUgnXWbdYiHHn4Lb9Al/rEXFzftxaXS6icPwnUE94whbsajeKMu LVd3ZG465rx3I+CRO8vBRBCGOYIaaW4DI0FaW6ZFB1BRWI2unbKMb9Fb78YDbBXJ05K6 7acw== X-Gm-Message-State: AGi0Pua9PxGW0V88c3P7YMD3LbfsHn1UWWbaekDN0+M87qBw39OOaksS qlP5j1Ps0yizl1PrgAMaiD7HVtj5AUx/KNYzsucHfXIB X-Google-Smtp-Source: APiQypK+IVF24QL0ssxIFmXcWUYTWndBZAxel2BKLwAMny6Bf/CXWVWRaG4d87RsAXDEOKh8Dipn6JikqPp/C2nH4mM= X-Received: by 2002:a4a:95a9:: with SMTP id o38mr1598642ooi.76.1587111343179; Fri, 17 Apr 2020 01:15:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alberto Lepe Date: Fri, 17 Apr 2020 17:15:32 +0900 Message-ID: Subject: Re: In Groovy 3, about 80 new extension methods were added. Where can I find the complete list? To: users@groovy.apache.org, paulk@asert.com.au Content-Type: multipart/alternative; boundary="000000000000d45c1105a37827d8" --000000000000d45c1105a37827d8 Content-Type: text/plain; charset="UTF-8" Thank you! You are right. I was able to find the list that way. On Fri, Apr 17, 2020 at 2:27 PM Paul King wrote: > If you have the source code and an IDE and search for '@since 3.0' you > will find 79 results when searching with *Methods.java as the file mask and > 1 with *Extensions.java as the file mask. There might be some that were > added without @since or in files that match some other file mask but that's > a good start. > > Cheers, Paul. > > On Fri, Apr 17, 2020 at 12:21 PM Alberto Lepe wrote: > >> According to Groovy 3.0 release notes: ( >> https://groovy-lang.org/releasenotes/groovy-3.0.html#Groovy3.0releasenotes-GDKimprovements >> ) >> >> "Groovy adds many extension methods to existing Java classes. In Groovy >> 3, about 80 new such extension methods were added. We highlight just a few >> here: ..." >> >> I need the complete list of such new methods that didn't exists in 2.5.x >> branch. Where I can find it (Google is not helping me :/ )? >> >> Motivation: I developed a groovy extension library ( >> https://gitlab.com/intellisrc/groovy-extend) with methods that I often >> use which Groovy doesn't have. I'm about to update it to use Groovy 3.0.3, >> but I would like to remove any method that is already implemented in Groovy. >> >> Thanks! >> > --000000000000d45c1105a37827d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you! You are right. I was able to find the list that= way.


On Fri, Apr 17, 2020 at 2:27 PM Paul King <paulk@asert.com.au> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">
If you ha= ve the source code and an IDE and search for '@since 3.0' you will = find 79 results when searching with *Methods.java as the file mask and 1 wi= th *Extensions.java as the file mask. There might be some that were added w= ithout=C2=A0@since or in files that match some other file mask but that'= ;s a good start.

Cheers, Paul.

On Fri, Apr 17, 2020= at 12:21 PM Alberto Lepe <dev@alepe.com> wrote:
According to Groovy 3.0 release notes: = (https://groovy-lang.org/rele= asenotes/groovy-3.0.html#Groovy3.0releasenotes-GDKimprovements)

= "Groovy adds many extension methods to existing Java classes. In Groov= y 3, about 80 new such extension methods were added. We highlight just a fe= w here: ..."

I need the complete list of such new methods that = didn't exists in 2.5.x branch. Where I can find it (Google is not helpi= ng me :/ )?

Motivation: I developed a groovy extension library (https= ://gitlab.com/intellisrc/groovy-extend) with methods that I often use w= hich Groovy doesn't have. I'm about to update it to use Groovy 3.0.= 3, but I would like to remove any method that is already implemented in Gro= ovy.

Thanks!
--000000000000d45c1105a37827d8--