boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PyGenericType type = (PyGenericType)o; return myName.equals(type.myName) && myIsDefinition == type.isDefinition() && Objects.equals(myScopeOwner, type.myScopeOwner); }