Adding onParam to annotation @EqualsAndHashCode to add individual annotations to the parameters of equals and canEqual.

This commit is contained in:
Christian Sterzl
2014-04-03 08:11:16 +02:00
parent 6afa3d2ec9
commit 3d32cd85f1
4 changed files with 82 additions and 10 deletions
@@ -0,0 +1,11 @@
@interface Nullable {
}
@lombok.EqualsAndHashCode(onParam=@_{@Nullable})
class EqualsAndHashCodeWithOnParam {
int x;
boolean[] y;
Object[] z;
String a;
String b;
}