diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-11-05 23:26:59 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-11-05 23:30:09 +0100 |
commit | a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476 (patch) | |
tree | daf21a21c677408ced8c72618ea99beb72efb1f6 /test/transform/resource/after-ecj | |
parent | 2c0ec9315577cbc8d406aca2b3f3b6ad233f4f35 (diff) | |
download | lombok-a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476.tar.gz lombok-a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476.tar.bz2 lombok-a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476.zip |
[fixes #1918] toString now supports a configkey to tell it how to deal with super.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/ToStringAutoSuper.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ToStringAutoSuper.java b/test/transform/resource/after-ecj/ToStringAutoSuper.java new file mode 100644 index 00000000..fb468ddc --- /dev/null +++ b/test/transform/resource/after-ecj/ToStringAutoSuper.java @@ -0,0 +1,16 @@ +@lombok.ToString class ToStringAutoSuperWithNoParent { + ToStringAutoSuperWithNoParent() { + super(); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return "ToStringAutoSuperWithNoParent()"; + } +} +@lombok.ToString class ToStringAutoSuperWithParent extends ToStringAutoSuperWithNoParent { + ToStringAutoSuperWithParent() { + super(); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("ToStringAutoSuperWithParent(super=" + super.toString()) + ")"); + } +} |