boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Mixin mixin = (Mixin)o; if (!myType.equals(mixin.myType)) return false; if (!Objects.equals(myCondition, mixin.myCondition)) return false; return true; }