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