diff --git a/org.eclipse.lemminx/pom.xml b/org.eclipse.lemminx/pom.xml
index 86363ccd5..4c266c4e8 100644
--- a/org.eclipse.lemminx/pom.xml
+++ b/org.eclipse.lemminx/pom.xml
@@ -216,12 +216,6 @@
-
-
- org.eclipse.xtend
- org.eclipse.xtend.lib
- 2.33.0
-
org.eclipse.lsp4j
org.eclipse.lsp4j.jsonrpc
diff --git a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/CodeLensKindCapabilities.java b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/CodeLensKindCapabilities.java
index defd1b2d5..6c9461e36 100644
--- a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/CodeLensKindCapabilities.java
+++ b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/CodeLensKindCapabilities.java
@@ -13,8 +13,7 @@
import java.util.List;
-import org.eclipse.xtext.xbase.lib.Pure;
-import org.eclipse.xtext.xbase.lib.util.ToStringBuilder;
+import org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder;
/**
* Specific capabilities for the `CodeLensKind`.
@@ -48,7 +47,6 @@ public CodeLensKindCapabilities(final List valueSet) {
* If this property is not present the client only supports the codeLens kinds
* from `File` to `Array` as defined in the initial version of the protocol.
*/
- @Pure
public List getValueSet() {
return this.valueSet;
}
@@ -66,7 +64,6 @@ public void setValueSet(final List valueSet) {
}
@Override
- @Pure
public String toString() {
ToStringBuilder b = new ToStringBuilder(this);
b.add("valueSet", this.valueSet);
@@ -74,7 +71,6 @@ public String toString() {
}
@Override
- @Pure
public boolean equals(final Object obj) {
if (this == obj) {
return true;
@@ -97,7 +93,6 @@ public boolean equals(final Object obj) {
}
@Override
- @Pure
public int hashCode() {
return 31 * 1 + ((this.valueSet == null) ? 0 : this.valueSet.hashCode());
}
diff --git a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/ExtendedCodeLensCapabilities.java b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/ExtendedCodeLensCapabilities.java
index 4993ba915..cc8683469 100644
--- a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/ExtendedCodeLensCapabilities.java
+++ b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/client/ExtendedCodeLensCapabilities.java
@@ -12,8 +12,7 @@
package org.eclipse.lemminx.client;
import org.eclipse.lsp4j.DynamicRegistrationCapabilities;
-import org.eclipse.xtext.xbase.lib.Pure;
-import org.eclipse.xtext.xbase.lib.util.ToStringBuilder;
+import org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder;
/**
* Extended capabilities specific to the `textDocument/codeLens` request. This capability doesn't belong to LSP specification. See proposal at
@@ -52,7 +51,6 @@ public ExtendedCodeLensCapabilities(final CodeLensKindCapabilities codeLensKind,
* Specific capabilities for the `CodeLensKind` in the `textDocument/codeLens`
* request.
*/
- @Pure
public CodeLensKindCapabilities getCodeLensKind() {
return this.codeLensKind;
}
@@ -66,7 +64,6 @@ public void setCodeLensKind(final CodeLensKindCapabilities codeLensKind) {
}
@Override
- @Pure
public String toString() {
ToStringBuilder b = new ToStringBuilder(this);
b.add("codeLensKind", this.codeLensKind);
@@ -75,7 +72,6 @@ public String toString() {
}
@Override
- @Pure
public boolean equals(final Object obj) {
if (this == obj) {
return true;
@@ -101,7 +97,6 @@ public boolean equals(final Object obj) {
}
@Override
- @Pure
public int hashCode() {
return 31 * super.hashCode() + ((this.codeLensKind == null) ? 0 : this.codeLensKind.hashCode());
}