boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PreviewEditorState state = (PreviewEditorState)o; if (myAttributes != null ? !myAttributes.equals(state.myAttributes) : state.myAttributes != null) return false; if (myFile != null ? !myFile.equals(state.myFile) : state.myFile != null) return false; if (myNavigate != null ? !myNavigate.equals(state.myNavigate) : state.myNavigate != null) return false; return true; }