@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof ModuleIdentifier) { ModuleIdentifier that = (ModuleIdentifier) o; return (this.name.equals(that.getName())) && (this.closureNamespace.equals(that.getClosureNamespace())) && (this.moduleName.equals(that.getModuleName())); } return false; }