[fixes #3416] Ignore annotations during array detection

This commit is contained in:
Rawi01 committed 2023-04-29 09:24:11 +02:00
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) + ")";
}
}