public TypeDefinitionCapabilitiesDto(org.eclipse.lsp4j.TypeDefinitionCapabilities o) { if (o.getDynamicRegistration() == null) { setDynamicRegistration((java.lang.Boolean)null); } else { java.lang.Boolean dynamicRegistrationVal = (java.lang.Boolean)makeDto(o.getDynamicRegistration());; setDynamicRegistration((java.lang.Boolean)dynamicRegistrationVal); } }
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.synchronization== null) ? 0 : this.synchronization.hashCode()); result = prime * result + ((this.completion== null) ? 0 : this.completion.hashCode()); result = prime * result + ((this.hover== null) ? 0 : this.hover.hashCode()); result = prime * result + ((this.signatureHelp== null) ? 0 : this.signatureHelp.hashCode()); result = prime * result + ((this.references== null) ? 0 : this.references.hashCode()); result = prime * result + ((this.documentHighlight== null) ? 0 : this.documentHighlight.hashCode()); result = prime * result + ((this.documentSymbol== null) ? 0 : this.documentSymbol.hashCode()); result = prime * result + ((this.formatting== null) ? 0 : this.formatting.hashCode()); result = prime * result + ((this.rangeFormatting== null) ? 0 : this.rangeFormatting.hashCode()); result = prime * result + ((this.onTypeFormatting== null) ? 0 : this.onTypeFormatting.hashCode()); result = prime * result + ((this.definition== null) ? 0 : this.definition.hashCode()); result = prime * result + ((this.typeDefinition== null) ? 0 : this.typeDefinition.hashCode()); result = prime * result + ((this.implementation== null) ? 0 : this.implementation.hashCode()); result = prime * result + ((this.codeAction== null) ? 0 : this.codeAction.hashCode()); result = prime * result + ((this.codeLens== null) ? 0 : this.codeLens.hashCode()); result = prime * result + ((this.documentLink== null) ? 0 : this.documentLink.hashCode()); result = prime * result + ((this.colorProvider== null) ? 0 : this.colorProvider.hashCode()); result = prime * result + ((this.rename== null) ? 0 : this.rename.hashCode()); result = prime * result + ((this.publishDiagnostics== null) ? 0 : this.publishDiagnostics.hashCode()); result = prime * result + ((this.foldingRange== null) ? 0 : this.foldingRange.hashCode()); return prime * result + ((this.semanticHighlightingCapabilities== null) ? 0 : this.semanticHighlightingCapabilities.hashCode()); } }
if (other.typeDefinition != null) return false; } else if (!this.typeDefinition.equals(other.typeDefinition)) return false; if (this.implementation == null) {
DefinitionCapabilities _doubleArrow_10 = ObjectExtensions.<DefinitionCapabilities>operator_doubleArrow(_definitionCapabilities, _function_14); it_3.setDefinition(_doubleArrow_10); TypeDefinitionCapabilities _typeDefinitionCapabilities = new TypeDefinitionCapabilities(); final Procedure1<TypeDefinitionCapabilities> _function_15 = (TypeDefinitionCapabilities it_4) -> { it_4.setDynamicRegistration(Boolean.valueOf(false)); }; TypeDefinitionCapabilities _doubleArrow_11 = ObjectExtensions.<TypeDefinitionCapabilities>operator_doubleArrow(_typeDefinitionCapabilities, _function_15);
@Override @Pure public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.synchronization== null) ? 0 : this.synchronization.hashCode()); result = prime * result + ((this.completion== null) ? 0 : this.completion.hashCode()); result = prime * result + ((this.hover== null) ? 0 : this.hover.hashCode()); result = prime * result + ((this.signatureHelp== null) ? 0 : this.signatureHelp.hashCode()); result = prime * result + ((this.references== null) ? 0 : this.references.hashCode()); result = prime * result + ((this.documentHighlight== null) ? 0 : this.documentHighlight.hashCode()); result = prime * result + ((this.documentSymbol== null) ? 0 : this.documentSymbol.hashCode()); result = prime * result + ((this.formatting== null) ? 0 : this.formatting.hashCode()); result = prime * result + ((this.rangeFormatting== null) ? 0 : this.rangeFormatting.hashCode()); result = prime * result + ((this.onTypeFormatting== null) ? 0 : this.onTypeFormatting.hashCode()); result = prime * result + ((this.definition== null) ? 0 : this.definition.hashCode()); result = prime * result + ((this.typeDefinition== null) ? 0 : this.typeDefinition.hashCode()); result = prime * result + ((this.implementation== null) ? 0 : this.implementation.hashCode()); result = prime * result + ((this.codeAction== null) ? 0 : this.codeAction.hashCode()); result = prime * result + ((this.codeLens== null) ? 0 : this.codeLens.hashCode()); result = prime * result + ((this.documentLink== null) ? 0 : this.documentLink.hashCode()); result = prime * result + ((this.colorProvider== null) ? 0 : this.colorProvider.hashCode()); result = prime * result + ((this.rename== null) ? 0 : this.rename.hashCode()); result = prime * result + ((this.publishDiagnostics== null) ? 0 : this.publishDiagnostics.hashCode()); result = prime * result + ((this.foldingRange== null) ? 0 : this.foldingRange.hashCode()); result = prime * result + ((this.semanticHighlightingCapabilities== null) ? 0 : this.semanticHighlightingCapabilities.hashCode()); result = prime * result + ((this.typeHierarchyCapabilities== null) ? 0 : this.typeHierarchyCapabilities.hashCode()); return prime * result + ((this.callHierarchy== null) ? 0 : this.callHierarchy.hashCode()); } }
if (other.typeDefinition != null) return false; } else if (!this.typeDefinition.equals(other.typeDefinition)) return false; if (this.implementation == null) {
DefinitionCapabilities _doubleArrow_10 = ObjectExtensions.<DefinitionCapabilities>operator_doubleArrow(_definitionCapabilities, _function_14); it_3.setDefinition(_doubleArrow_10); TypeDefinitionCapabilities _typeDefinitionCapabilities = new TypeDefinitionCapabilities(); final Procedure1<TypeDefinitionCapabilities> _function_15 = (TypeDefinitionCapabilities it_4) -> { it_4.setDynamicRegistration(Boolean.valueOf(false)); }; TypeDefinitionCapabilities _doubleArrow_11 = ObjectExtensions.<TypeDefinitionCapabilities>operator_doubleArrow(_typeDefinitionCapabilities, _function_15);
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("dynamicRegistration", getDynamicRegistration()); return b.toString(); }
@Override @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("dynamicRegistration", getDynamicRegistration()); return b.toString(); }