aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/EqualsAndHashCodeOfExclude.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2015-10-26 22:21:16 +0100
committerRoel Spilker <r.spilker@gmail.com>2015-10-26 22:21:16 +0100
commit30cfbcf9e42f9f997817ad0d097b71655f9a8485 (patch)
tree62117de2fff9a60a9fa4e2ae85065229be73a441 /test/transform/resource/before/EqualsAndHashCodeOfExclude.java
parentbe2dfb3d9de2336657481d473bf69c275c4b7437 (diff)
downloadlombok-30cfbcf9e42f9f997817ad0d097b71655f9a8485.tar.gz
lombok-30cfbcf9e42f9f997817ad0d097b71655f9a8485.tar.bz2
lombok-30cfbcf9e42f9f997817ad0d097b71655f9a8485.zip
Add tests for `@EqualsAndHashCode` for the attributes `of` and `exclude`
Diffstat (limited to 'test/transform/resource/before/EqualsAndHashCodeOfExclude.java')
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeOfExclude.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeOfExclude.java b/test/transform/resource/before/EqualsAndHashCodeOfExclude.java
new file mode 100644
index 00000000..0625ba52
--- /dev/null
+++ b/test/transform/resource/before/EqualsAndHashCodeOfExclude.java
@@ -0,0 +1,11 @@
+@lombok.EqualsAndHashCode(of={"x"})
+final class EqualsAndHashCodeOf {
+ int x;
+ int y;
+}
+
+@lombok.EqualsAndHashCode(exclude={"y"})
+final class EqualsAndHashCodeExclude {
+ int x;
+ int y;
+} \ No newline at end of file