diff --git a/java-api/src/java12/java/xyz/wagyourtail/jvmdg/j12/stub/java_base/J_L_C_ClassDesc.java b/java-api/src/java12/java/xyz/wagyourtail/jvmdg/j12/stub/java_base/J_L_C_ClassDesc.java index 8bde1249..0e2ffb30 100644 --- a/java-api/src/java12/java/xyz/wagyourtail/jvmdg/j12/stub/java_base/J_L_C_ClassDesc.java +++ b/java-api/src/java12/java/xyz/wagyourtail/jvmdg/j12/stub/java_base/J_L_C_ClassDesc.java @@ -218,5 +218,15 @@ public boolean equals(Object obj) { if (!(obj instanceof J_L_C_ClassDesc)) return false; return descriptor.equals(((J_L_C_ClassDesc) obj).descriptorString()); } + + @Override + public int hashCode() { + return descriptor.hashCode(); + } + + @Override + public String toString() { + return "ClassDesc[" + displayName() + "]"; + } } }