mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
[fixes #3416] Ignore annotations during array detection
This commit is contained in:
1 parent
3f51b25ac9
commit
8aa54b7f25
7 files changed
+88
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
public @lombok.ToString class ToStringArray {
|
||||
int[] primitiveArray;
|
||||
Object[] objectArray;
|
||||
public ToStringArray() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (((("ToStringArray(primitiveArray=" + java.util.Arrays.toString(this.primitiveArray)) + ", objectArray=") + java.util.Arrays.deepToString(this.objectArray)) + ")");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user