Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit e367f21

Browse files
chore: Also add toString to TypeHint
1 parent 64342ac commit e367f21

File tree

1 file changed

+10
-0
lines changed
  • jpyinterpreter/src/main/java/ai/timefold/jpyinterpreter

1 file changed

+10
-0
lines changed

jpyinterpreter/src/main/java/ai/timefold/jpyinterpreter/TypeHint.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,14 @@ public boolean equals(Object o) {
5252
public int hashCode() {
5353
return Objects.hash(type, annotationList, Arrays.hashCode(genericArgs), javaGetterType);
5454
}
55+
56+
@Override
57+
public String toString() {
58+
return "TypeHint{" +
59+
"type=" + type +
60+
", annotationList=" + annotationList +
61+
", genericArgs=" + Arrays.toString(genericArgs) +
62+
", javaGetterType=" + javaGetterType +
63+
'}';
64+
}
5565
}

0 commit comments

Comments
 (0)