Return-Path: X-Original-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32763D774 for ; Sun, 15 Jul 2012 08:29:02 +0000 (UTC) Received: (qmail 64102 invoked by uid 500); 15 Jul 2012 08:29:02 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 64028 invoked by uid 500); 15 Jul 2012 08:29:01 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 64009 invoked by uid 99); 15 Jul 2012 08:29:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 08:29:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 08:28:55 +0000 Received: by obcva7 with SMTP id va7so7003332obc.6 for ; Sun, 15 Jul 2012 01:28:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=UHKN1Fo/ZLeAXCKqhRhfUclvp2sc231yKrtLc9dkXSM=; b=S+pEdrsOlB+JnDBYpXjF1U4cW4pZ02MWPMcAG4cfVGSjE42Wbg6vkuHuVOCVz5aSm7 VvmmJUCp1+sk162Hv9K5pXkxv2Fk+DyyICUQZYsFCySlWHt1EyF+mPR/3AcbMew4GOLK a39wwZnD5lK76ltXS4uPlLIXiVll+csyJNLBzvUzSPsilK0we9l0zJqd1aVImfHkkYrz c51Y4eqylg1Rh2ximCUdPugTlcskmuaA7Dtp2hjedIIzmxJto6ej1zZs4Aw2THsFMe6T 1YAI98bzMfIeaDCqo4Kcd2x+IeLQZvDincPHoZg1A5wjITyUDb1DmF363MDeC6Xy4WYX xEtg== Received: by 10.60.8.8 with SMTP id n8mr10080319oea.38.1342340914594; Sun, 15 Jul 2012 01:28:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.27.161 with HTTP; Sun, 15 Jul 2012 01:28:14 -0700 (PDT) X-Originating-IP: [81.155.234.19] In-Reply-To: References: From: Dan Haywood Date: Sun, 15 Jul 2012 09:28:14 +0100 Message-ID: Subject: Re: Parameter names To: isis-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c6d461c49804c4da1900 X-Gm-Message-State: ALoCoQmMHO7DbvhKjBaGZlP2tA6oKW3ARj3/9WtTJHU6bda2Cqj5HOJ2kXi2sAviRiRKFghpsZ7n X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c6d461c49804c4da1900 Content-Type: text/plain; charset=ISO-8859-1 Jeroen, I've added a comment to that ticket to describe the process. A nice Sunday afternoon coding exercise? Shouldn't take more than an hour, two at most I'd've thought. Cheers Dan On 14 July 2012 11:41, Jeroen van der Wal wrote: > I certainly don't say no to a tutorial on FacetFactory. Here's the ticket: > https://issues.apache.org/jira/browse/ISIS-235 > -Jeroen > > On Sat, Jul 14, 2012 at 11:15 AM, Dan Haywood > wrote: > > > Sounds like a good idea. The license us compatible. Do you want to raise > a > > jira? > > > > Then, if you want, I'll give you a quick tutorial on how to write a > > facetfactory to implement the feature? > > > > Cheers, > > Dan > > > > Sorry to be brief, sent from my phone > > On Jul 13, 2012 8:16 PM, "Jeroen van der Wal" > wrote: > > > > > I was adding some methods with lots of paramaters to a repository and > got > > > reminded that I had to annotate all with @Named to have the Isis show > the > > > parameter name. This is an anti-DRY pattern and I googled for some > > > solutions. I came across Paranamer, a project which solves the problem > > that > > > Java reflection does not return parameter names. Did anyone looked into > > > solutions like this and might it be worth it to implement? > > > > > > [1] http://paranamer.codehaus.org/ > > > > > > Cheers, > > > > > > Jeroen > > > > > > --e89a8ff1c6d461c49804c4da1900--