boolean (Object o) { // exclude gutterIcon if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; HighlighterState state = (HighlighterState)o; return start == state.start && end == state.end && layer == state.layer && targetArea == state.targetArea && Objects.equals(textAttributesKey, state.textAttributesKey) && Objects.equals(textAttributes, state.textAttributes); }