boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; FormatOnSaveOptionsBase<?> base = (FormatOnSaveOptionsBase<?>)o; return myState.equals(base.myState); }