aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/EqualsAndHashCodeInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/EqualsAndHashCodeInAnonymousClass.java')
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeInAnonymousClass.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeInAnonymousClass.java b/test/transform/resource/before/EqualsAndHashCodeInAnonymousClass.java
new file mode 100644
index 00000000..0f0995b6
--- /dev/null
+++ b/test/transform/resource/before/EqualsAndHashCodeInAnonymousClass.java
@@ -0,0 +1,10 @@
+import lombok.EqualsAndHashCode;
+
+public class EqualsAndHashCodeInAnonymousClass {
+ Object annonymous = new Object() {
+ @EqualsAndHashCode
+ class Inner {
+ private String string;
+ }
+ };
+} \ No newline at end of file