boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DependencyOnPlugin plugin = (DependencyOnPlugin)o; return myPluginId.equals(plugin.myPluginId) && Objects.equals(myMinVersion, plugin.myMinVersion) && Objects.equals(myMaxVersion, plugin.myMaxVersion); }