boolean (Object o) { if (this == o) return true; if (!(o instanceof CheckResourcesTarget)) return false; CheckResourcesTarget target = (CheckResourcesTarget)o; if (!myModule.equals(target.myModule)) return false; if (!getTargetType().equals(target.getTargetType())) return false; return true; }