boolean (Object o) { if (this == o) return true; if (!(o instanceof FoundUsage usage)) return false; return text.equals(usage.text) && Objects.equals(portableFilePath, usage.portableFilePath) && Objects.equals(line, usage.line); }