boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final DisabledAutodetectionByTypeElement that = (DisabledAutodetectionByTypeElement)o; return myFacetTypeId.equals(that.myFacetTypeId) && myModuleElements.equals(that.myModuleElements); }