public CodeLensCapabilitiesDto(org.eclipse.lsp4j.CodeLensCapabilities 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); } }
CodeActionCapabilities _doubleArrow_13 = ObjectExtensions.<CodeActionCapabilities>operator_doubleArrow(_codeActionCapabilities, _function_17); it_3.setCodeAction(_doubleArrow_13); CodeLensCapabilities _codeLensCapabilities = new CodeLensCapabilities(); final Procedure1<CodeLensCapabilities> _function_18 = (CodeLensCapabilities it_4) -> { it_4.setDynamicRegistration(Boolean.valueOf(false)); }; CodeLensCapabilities _doubleArrow_14 = ObjectExtensions.<CodeLensCapabilities>operator_doubleArrow(_codeLensCapabilities, _function_18);
@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.codeLens != null) return false; } else if (!this.codeLens.equals(other.codeLens)) return false; if (this.documentLink == null) {
textDocument.setCodeLens(new CodeLensCapabilities()); CompletionItemCapabilities ciCaps = new CompletionItemCapabilities(true); ciCaps.setDocumentationFormat(Collections.singletonList(MarkupKind.MARKDOWN));
CodeActionCapabilities _doubleArrow_13 = ObjectExtensions.<CodeActionCapabilities>operator_doubleArrow(_codeActionCapabilities, _function_17); it_3.setCodeAction(_doubleArrow_13); CodeLensCapabilities _codeLensCapabilities = new CodeLensCapabilities(); final Procedure1<CodeLensCapabilities> _function_18 = (CodeLensCapabilities it_4) -> { it_4.setDynamicRegistration(Boolean.valueOf(false)); }; CodeLensCapabilities _doubleArrow_14 = ObjectExtensions.<CodeLensCapabilities>operator_doubleArrow(_codeLensCapabilities, _function_18);
@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.codeLens != null) return false; } else if (!this.codeLens.equals(other.codeLens)) return false; if (this.documentLink == null) {
@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(); }