boolean (Object other) { if (this == other) return true; if (other == null || getClass() != other.getClass()) return false; GeneratedReferenceType type = (GeneratedReferenceType)other; return myName.equals(type.myName) && myVm.equals(type.myVm); }