It would be nice to have aliases in @Getter and @Setter
In my case it would be handy in multilingual project
For example:
@Getter(aliases={"ключ"}) private long key;
As a shortcut for:
private long key;
public long getKey() { return key; }
public long ключ() { return key; }
//or maybe like this: (or both) [or configurable]
public long getКлюч() { return key; } // javabean style
//both should work, but its pain to type "getКлюч" changing kb layout every
time.
I'm using jruby (multilingual DSL) where both styles accessible as property
this way: object.ключ
In groovy only javabean-style accessible as property.
Labels: -Type-Enhancement
Original issue reported on code.google.com by g...@inbox.ru on 19 Feb 2015 at 9:04
Original issue reported on code.google.com by
g...@inbox.ru
on 19 Feb 2015 at 9:04