@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; MakeMacro other = (MakeMacro) obj; if (includeNcc != other.includeNcc) return false; if (includeYeti != other.includeYeti) return false; if (macro == null) { if (other.macro != null) return false; } else if (!macro.equals(other.macro)) return false; return true; }