mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 04:13:56 +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,13 @@
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
public class ToStringArray {
|
||||
int[] primitiveArray;
|
||||
Object[] objectArray;
|
||||
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public 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