@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; SymbolCapabilities other = (SymbolCapabilities) obj; if (this.symbolKind == null) { if (other.symbolKind != null) return false; } else if (!this.symbolKind.equals(other.symbolKind)) return false; return true; }
@Override @Pure public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((this.symbolKind== null) ? 0 : this.symbolKind.hashCode()); return prime * result + ((this.hierarchicalDocumentSymbolSupport== null) ? 0 : this.hierarchicalDocumentSymbolSupport.hashCode()); } }
public SymbolKindCapabilitiesDto(org.eclipse.lsp4j.SymbolKindCapabilities o) { if (o.getValueSet() == null) { setValueSet((java.util.List<org.eclipse.lsp4j.SymbolKind>)null); } else { ArrayList<org.eclipse.lsp4j.SymbolKind> valueSetVal= new ArrayList<org.eclipse.lsp4j.SymbolKind>(); for (org.eclipse.lsp4j.SymbolKind valueSetValX : o.getValueSet()) { org.eclipse.lsp4j.SymbolKind valueSetValY = (org.eclipse.lsp4j.SymbolKind)makeDto(valueSetValX);; valueSetVal.add(valueSetValY); } setValueSet((java.util.List<org.eclipse.lsp4j.SymbolKind>)valueSetVal); } }
final Procedure1<DocumentSymbolCapabilities> _function_10 = (DocumentSymbolCapabilities it_4) -> { it_4.setDynamicRegistration(Boolean.valueOf(false)); SymbolKindCapabilities _symbolKindCapabilities = new SymbolKindCapabilities(); final Procedure1<SymbolKindCapabilities> _function_11 = (SymbolKindCapabilities it_5) -> { it_5.setValueSet(Collections.<SymbolKind>unmodifiableList(CollectionLiterals.<SymbolKind>newArrayList(SymbolKind.Module, SymbolKind.Namespace, SymbolKind.Package, SymbolKind.Class))); }; SymbolKindCapabilities _doubleArrow_6 = ObjectExtensions.<SymbolKindCapabilities>operator_doubleArrow(_symbolKindCapabilities, _function_11);
final Procedure1<DocumentSymbolCapabilities> _function_10 = (DocumentSymbolCapabilities it_4) -> { it_4.setDynamicRegistration(Boolean.valueOf(false)); SymbolKindCapabilities _symbolKindCapabilities = new SymbolKindCapabilities(); final Procedure1<SymbolKindCapabilities> _function_11 = (SymbolKindCapabilities it_5) -> { it_5.setValueSet(Collections.<SymbolKind>unmodifiableList(CollectionLiterals.<SymbolKind>newArrayList(SymbolKind.Module, SymbolKind.Namespace, SymbolKind.Package, SymbolKind.Class))); }; SymbolKindCapabilities _doubleArrow_6 = ObjectExtensions.<SymbolKindCapabilities>operator_doubleArrow(_symbolKindCapabilities, _function_11);
@Override @Pure public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((this.symbolKind== null) ? 0 : this.symbolKind.hashCode()); return prime * result + ((this.hierarchicalDocumentSymbolSupport== null) ? 0 : this.hierarchicalDocumentSymbolSupport.hashCode()); } }
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; SymbolCapabilities other = (SymbolCapabilities) obj; if (this.symbolKind == null) { if (other.symbolKind != null) return false; } else if (!this.symbolKind.equals(other.symbolKind)) return false; return true; }
@Override @Pure public int hashCode() { return 31 * super.hashCode() + ((this.symbolKind== null) ? 0 : this.symbolKind.hashCode()); } }
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; DocumentSymbolCapabilities other = (DocumentSymbolCapabilities) obj; if (this.symbolKind == null) { if (other.symbolKind != null) return false; } else if (!this.symbolKind.equals(other.symbolKind)) return false; if (this.hierarchicalDocumentSymbolSupport == null) { if (other.hierarchicalDocumentSymbolSupport != null) return false; } else if (!this.hierarchicalDocumentSymbolSupport.equals(other.hierarchicalDocumentSymbolSupport)) return false; return true; }
@Override @Pure public int hashCode() { return 31 * super.hashCode() + ((this.symbolKind== null) ? 0 : this.symbolKind.hashCode()); } }
@Override @Pure public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; DocumentSymbolCapabilities other = (DocumentSymbolCapabilities) obj; if (this.symbolKind == null) { if (other.symbolKind != null) return false; } else if (!this.symbolKind.equals(other.symbolKind)) return false; if (this.hierarchicalDocumentSymbolSupport == null) { if (other.hierarchicalDocumentSymbolSupport != null) return false; } else if (!this.hierarchicalDocumentSymbolSupport.equals(other.hierarchicalDocumentSymbolSupport)) return false; return true; }