From bdfda9ba3eb36ecb44a0c2961b399cf0dda6c8b1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 3 Jun 2021 15:10:12 -0400 Subject: [PATCH] Add reflection config for CodeLens and References Fixes #1046, Fixes #1047 Signed-off-by: David Thompson --- .../META-INF/native-image/reflect-config.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/org.eclipse.lemminx/src/main/resources/META-INF/native-image/reflect-config.json b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/reflect-config.json index 892cdaa05..f709e9a4d 100644 --- a/org.eclipse.lemminx/src/main/resources/META-INF/native-image/reflect-config.json +++ b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/reflect-config.json @@ -484,6 +484,14 @@ "parameterTypes": [] }] }, + { + "name": "org.eclipse.lsp4j.CodeLens", + "allDeclaredFields": true, + "methods": [{ + "name": "", + "parameterTypes": [] + }] + }, { "name": "org.eclipse.lsp4j.CodeLensCapabilities", "allDeclaredFields": true, @@ -1322,6 +1330,14 @@ "parameterTypes": [] }] }, + { + "name": "org.eclipse.lsp4j.ReferenceParams", + "allDeclaredFields": true, + "methods": [{ + "name": "", + "parameterTypes": [] + }] + }, { "name": "org.eclipse.lsp4j.RegularExpressionsCapabilities", "allDeclaredFields": true, @@ -1878,4 +1894,4 @@ "parameterTypes": ["java.lang.Class"] }] } -] \ No newline at end of file +]