+1 Another great idea! <br><br>I think that Dan&#39;s suggested approach makes the most long-term sense, because we may (as he said,) want to customize the behavior of an @Alias for each name with which it is invoked.<br><br>
~Lincoln<br><br><div class="gmail_quote">On Tue, May 8, 2012 at 9:24 PM, George Gastaldi <span dir="ltr">&lt;<a href="mailto:gegastaldi@gmail.com" target="_blank">gegastaldi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sounds good. Or we could follow the same principle the guys in<br>
Hibernate Validation takes: create a @List inside @Alias containing an<br>
array of @Alias.<br>
<br>
Anyway, taking this approach would enable the creation of an @Alias<br>
for each locale. That would rock :)<br>
<br>
Regards,<br>
<br>
George Gastaldi<br>
<br>
<br>
2012/5/8 Dan Allen &lt;<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt; brilliant. +1<br>
&gt;<br>
&gt; It&#39;s possible to introduce an @Aliases annotation that accepts a collection<br>
&gt; of @Alias annotations.  this reads nicer and leaves the door open for<br>
&gt; per-alias customizations if we should need them.<br>
&gt;<br>
&gt; --<br>
&gt; Sent from my CyanogenMod-powered<br>
&gt; Android device, an open platform for<br>
&gt; carriers, developers and consumers.<br>
&gt;<br>
&gt; On May 8, 2012 2:55 PM, &quot;George Gastaldi&quot; &lt;<a href="mailto:gegastaldi@gmail.com">gegastaldi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I was wondering if it makes sense for a plugin to have multiple alias.<br>
&gt;&gt; Like, for example, the help plugin could be invoked by calling &quot;help&quot;<br>
&gt;&gt; or simply &quot;?&quot;.<br>
&gt;&gt;<br>
&gt;&gt; I believe that the @Alias annotation should receive a String[]<br>
&gt;&gt; instead. That could be extended to other use cases as well.<br>
&gt;&gt;<br>
&gt;&gt; WDYT ?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt; George Gastaldi<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>