boolean (Object o) { if (this == o) return true; if (!(o instanceof PyJavaClassType type)) return false; if (myDefinition != type.myDefinition) return false; if (myClass != null ? !myClass.equals(type.myClass) : type.myClass != null) return false; return true; }