diff --git a/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend b/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend
index 4bbd31043..0bf369658 100644
--- a/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend
+++ b/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend
@@ -7053,10 +7053,9 @@ class FileOperationPattern {
/**
* Whether to match files or folders with this pattern.
*
- * The match kind could be FileOperationPatternKind.File
,
- * FileOperationPatternKind.Folder
and undefined.
- *
* Matches both if undefined.
+ *
+ * See {@link FileOperationPatternKind} for allowed values.
*/
String matches