boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CompletionItem that = (CompletionItem)o; return contributor.equals(that.contributor) && relativePath.equals(that.relativePath) && Objects.equals(rootType, that.rootType) && displayText.equals(that.displayText) && Objects.equals(icon, that.icon); }