boolean (Object o) { if (this == o) return true; if (!(o instanceof SourceRoot root)) return false; if (packagePrefix != null ? !packagePrefix.equals(root.packagePrefix) : root.packagePrefix != null) return false; if (!path.equals(root.path)) return false; return true; }