boolean (Object o) { if (this == o) return true; if (!(o instanceof DefaultFileCollectionDependency)) return false; if (!super.equals(o)) return false; DefaultFileCollectionDependency that = (DefaultFileCollectionDependency)o; return GradleContainerUtil.match(files.iterator(), that.files.iterator(), new BooleanBiFunction<File, File>() { @Override public Boolean fun(File o1, File o2) { return Objects.equal(o1.getPath(), o2.getPath()); } }); }