aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-07-25 02:17:54 +0200
committerRoel Spilker <r.spilker@gmail.com>2010-07-25 02:17:54 +0200
commit42107d6a8ef41ed13565b041f00a3d9e6b6c1989 (patch)
tree23dad045dd6ca18e7f3d5be370947cbc688d1c99 /test/transform/resource/after-delombok
parentacb0e52bc09a66e9a5b5446c374cbc90a732762a (diff)
downloadlombok-42107d6a8ef41ed13565b041f00a3d9e6b6c1989.tar.gz
lombok-42107d6a8ef41ed13565b041f00a3d9e6b6c1989.tar.bz2
lombok-42107d6a8ef41ed13565b041f00a3d9e6b6c1989.zip
Issue 133: @ToString on an inner class should print Outer.Inner instead of Inner
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/DataOnLocalClass.java2
-rw-r--r--test/transform/resource/after-delombok/ToStringInner.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/DataOnLocalClass.java b/test/transform/resource/after-delombok/DataOnLocalClass.java
index f5f5ef31..bb3f564d 100644
--- a/test/transform/resource/after-delombok/DataOnLocalClass.java
+++ b/test/transform/resource/after-delombok/DataOnLocalClass.java
@@ -90,7 +90,7 @@ class DataOnLocalClass2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "InnerLocal(name=" + this.getName() + ")";
+ return "Local.InnerLocal(name=" + this.getName() + ")";
}
}
@java.lang.SuppressWarnings("all")
diff --git a/test/transform/resource/after-delombok/ToStringInner.java b/test/transform/resource/after-delombok/ToStringInner.java
index fc376a77..bd8967b7 100644
--- a/test/transform/resource/after-delombok/ToStringInner.java
+++ b/test/transform/resource/after-delombok/ToStringInner.java
@@ -6,7 +6,7 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "ToStringInner(y=" + this.y + ")";
+ return "ToStringOuter.ToStringInner(y=" + this.y + ")";
}
}
static class ToStringStaticInner {
@@ -14,7 +14,7 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "ToStringStaticInner(y=" + this.y + ")";
+ return "ToStringOuter.ToStringStaticInner(y=" + this.y + ")";
}
}
class ToStringMiddle {
@@ -23,7 +23,7 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "ToStringMoreInner(name=" + this.name + ")";
+ return "ToStringOuter.ToStringMiddle.ToStringMoreInner(name=" + this.name + ")";
}
}
}