boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MavenResource that = (MavenResource)o; if (myFiltered != that.myFiltered) return false; if (!Objects.equals(myDirectory, that.myDirectory)) return false; if (!myExcludes.equals(that.myExcludes)) return false; if (!myIncludes.equals(that.myIncludes)) return false; if (!Objects.equals(myTargetPath, that.myTargetPath)) return false; return true; }