[forge-dev] @Alias

Dan Allen dan.j.allen at gmail.com
Tue May 8 21:15:35 EDT 2012


brilliant. +1

It's possible to introduce an @Aliases annotation that accepts a collection
of @Alias annotations.  this reads nicer and leaves the door open for
per-alias customizations if we should need them.

--
Sent from my CyanogenMod-powered
Android device, an open platform for
carriers, developers and consumers.
On May 8, 2012 2:55 PM, "George Gastaldi" <gegastaldi at gmail.com> wrote:

> Hi,
>
> I was wondering if it makes sense for a plugin to have multiple alias.
> Like, for example, the help plugin could be invoked by calling "help"
> or simply "?".
>
> I believe that the @Alias annotation should receive a String[]
> instead. That could be extended to other use cases as well.
>
> WDYT ?
>
> Regards,
>
> George Gastaldi
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120508/cad162e4/attachment.html 


More information about the forge-dev mailing list