boolean (Object o) { if (this == o) return true; if (!(o instanceof TemplateImpl template)) return false; if (myId != null && myId.equals(template.myId)) return true; if (isToReformat != template.isToReformat) return false; if (isToShortenLongNames != template.isToShortenLongNames) return false; if (myShortcutChar != template.myShortcutChar) return false; return Objects.equals(myDescription, template.myDescription) && Objects.equals(myGroupName, template.myGroupName) && Objects.equals(myKey, template.myKey) && string().equals(template.string()) && getValue(Property.USE_STATIC_IMPORT_IF_POSSIBLE) == template.getValue(Property.USE_STATIC_IMPORT_IF_POSSIBLE) && (templateText() != null ? templateText().equals(template.templateText()) : template.templateText() == null) && new HashSet<>(myVariables).equals(new HashSet<>(template.myVariables)) && isDeactivated == template.isDeactivated; }