content, boolean prependTitles,
+ boolean html) {
StringBuilder result = new StringBuilder();
if (prependTitles) {
result.append(applyPrefix(prefix, elementName, html));
}
- for (String doc: content) {
+ for (String doc : content) {
if (!StringUtils.isBlank(doc)) {
if (html) {
result.append("");
diff --git a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/settings/XMLPreferences.java b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/settings/XMLPreferences.java
index 0a52e29e5d..dbaa9dbb71 100644
--- a/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/settings/XMLPreferences.java
+++ b/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/settings/XMLPreferences.java
@@ -16,9 +16,9 @@
*
*/
public class XMLPreferences {
-
+
public static final QuoteStyle DEFAULT_QUOTE_STYLE = QuoteStyle.doubleQuotes;
-
+
public static final SchemaDocumentationType DEFAULT_SCHEMA_DOCUMENTATION_TYPE = SchemaDocumentationType.all;
private QuoteStyle quoteStyle;
@@ -32,9 +32,9 @@ public XMLPreferences() {
/**
* Returns the actual quotation value as a char.
- *
+ *
* Either a {@code '} or {@code "}.
- *
+ *
* Defaults to {@code "}.
*/
public char getQuotationAsChar() {
@@ -44,9 +44,9 @@ public char getQuotationAsChar() {
/**
* Returns the actual quotation value as a String.
- *
+ *
* Either a {@code '} or {@code "}.
- *
+ *
* Defaults to {@code "}.
*/
public String getQuotationAsString() {
@@ -55,7 +55,7 @@ public String getQuotationAsString() {
/**
* Sets the quote style
- *
+ *
* @param quoteStyle
*/
public void setQuoteStyle(QuoteStyle quoteStyle) {
@@ -64,7 +64,7 @@ public void setQuoteStyle(QuoteStyle quoteStyle) {
/**
* Returns the quote style
- *
+ *
* @return
*/
public QuoteStyle getQuoteStyle() {
@@ -80,7 +80,7 @@ public SchemaDocumentationType getShowSchemaDocumentationType() {
/**
* Sets the showSchemaDocumentationType
- *
+ *
* @param showSchemaDocumentationType
*/
public void setShowSchemaDocumentationType(SchemaDocumentationType showSchemaDocumentationType) {
@@ -90,7 +90,7 @@ public void setShowSchemaDocumentationType(SchemaDocumentationType showSchemaDoc
/**
* Merges the contents of newPreferences
to the current
* XMLPreferences
instance
- *
+ *
* @param newPreferences
*/
public void merge(XMLPreferences newPreferences) {
diff --git a/org.eclipse.lemminx/src/main/resources/META-INF/extra.json b/org.eclipse.lemminx/src/main/resources/META-INF/extra.json
new file mode 100644
index 0000000000..233d2cc697
--- /dev/null
+++ b/org.eclipse.lemminx/src/main/resources/META-INF/extra.json
@@ -0,0 +1,4 @@
+{
+ "name":"org.eclipse.lemminx.services.extensions.IXMLExtension",
+ "allDeclaredMethods":true
+},
\ No newline at end of file
diff --git a/org.eclipse.lemminx/src/main/resources/META-INF/native-image/jni-config.json b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/jni-config.json
new file mode 100644
index 0000000000..0d4f101c7a
--- /dev/null
+++ b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/jni-config.json
@@ -0,0 +1,2 @@
+[
+]
diff --git a/org.eclipse.lemminx/src/main/resources/META-INF/native-image/proxy-config.json b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/proxy-config.json
new file mode 100644
index 0000000000..6c0bdcc2a9
--- /dev/null
+++ b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/proxy-config.json
@@ -0,0 +1,3 @@
+[
+ ["org.eclipse.lemminx.customservice.XMLLanguageClientAPI","org.eclipse.lsp4j.jsonrpc.Endpoint"]
+]
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
new file mode 100644
index 0000000000..335e92023f
--- /dev/null
+++ b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/reflect-config.json
@@ -0,0 +1,1511 @@
+[
+ {
+ "name": "com.overzealous.remark.Remark",
+ "fields": [{
+ "name": "cleaner"
+ }]
+ },
+ {
+ "name": "java.lang.Object",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "java.lang.String[]"
+ },
+ {
+ "name": "java.util.ArrayList",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.dv.ObjectFactory"
+ },
+ {
+ "name": "org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.dv.xs.ExtendedSchemaDVFactoryImpl",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.xs.SchemaGrammar",
+ "fields": [{
+ "name": "fComplexTypeDecls"
+ }, {
+ "name": "fCTLocators"
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.xs.XMLSchemaLoader",
+ "fields": [{
+ "name": "fSchemaHandler"
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.xs.traversers.XSDHandler",
+ "fields": [{
+ "name": "fSchemaParser"
+ }, {
+ "name": "fLocalElementDecl"
+ }, {
+ "name": "fParticle"
+ }]
+ },
+ {
+ "name": "org.apache.xerces.impl.xs.XSLoaderImpl",
+ "fields": [{
+ "name": "fSchemaLoader"
+ }]
+ },
+ {
+ "name": "org.apache.xerces.parsers.ObjectFactory"
+ },
+ {
+ "name": "org.apache.xerces.parsers.XIncludeAwareParserConfiguration",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.apache.xml.resolver.readers.OASISXMLCatalogReader",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.XMLLanguageServer",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.XMLTextDocumentService",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.XMLWorkspaceService",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.services.extensions.IXMLExtension",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.client.CodeLensKindCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.client.ExtendedClientCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.client.ExtendedCodeLensCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.commons.ParentProcessWatcher$ProcessLanguageServer",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.commons.snippets.Snippet",
+ "allDeclaredMethods": true,
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lemminx.services.snippets.XMLSnippetRegistryLoader"
+ },
+ {
+ "name": "org.apache.xerces.impl.dtd.XMLDTDValidator",
+ "fields": [{
+ "name": "fRootElement"
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.customservice.ActionableNotification",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.customservice.AutoCloseTagResponse",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lemminx.customservice.XMLLanguageClientAPI",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.customservice.XMLLanguageServerAPI",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.extensions.contentmodel.settings.ContentModelSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.extensions.contentmodel.settings.XMLFileAssociation",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.extensions.contentmodel.settings.XMLFileAssociation[]"
+ },
+ {
+ "name": "org.eclipse.lemminx.extensions.contentmodel.settings.XMLValidationSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.services.CompletionResponse",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.services.IXMLDocumentProvider",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.AllXMLSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.InitializationOptionsSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.LogsSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.PathPatternMatcher",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.ServerSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.XMLCodeLensSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.XMLCompletionSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.XMLFormattingOptions",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.XMLGeneralClientSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.XMLSymbolSettings",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.QuoteStyle",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.SchemaDocumentationType",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.XMLPreferences",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lemminx.settings.capabilities.InitializationOptionsExtendedClientCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CallHierarchyCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ClientCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeAction",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeActionCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeActionContext",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeActionKindCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeActionLiteralSupportCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeActionOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeActionParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeLensCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CodeLensOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ColorProviderCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ColorProviderOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.Command",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionContext",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionItem",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionItemCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionItemKind",
+ "fields": [{
+ "name": "Class"
+ },
+ {
+ "name": "Color"
+ },
+ {
+ "name": "Constant"
+ },
+ {
+ "name": "Constructor"
+ },
+ {
+ "name": "Enum"
+ },
+ {
+ "name": "EnumMember"
+ },
+ {
+ "name": "Event"
+ },
+ {
+ "name": "Field"
+ },
+ {
+ "name": "File"
+ },
+ {
+ "name": "Folder"
+ },
+ {
+ "name": "Function"
+ },
+ {
+ "name": "Interface"
+ },
+ {
+ "name": "Keyword"
+ },
+ {
+ "name": "Method"
+ },
+ {
+ "name": "Module"
+ },
+ {
+ "name": "Operator"
+ },
+ {
+ "name": "Property"
+ },
+ {
+ "name": "Reference"
+ },
+ {
+ "name": "Snippet"
+ },
+ {
+ "name": "Struct"
+ },
+ {
+ "name": "Text"
+ },
+ {
+ "name": "TypeParameter"
+ },
+ {
+ "name": "Unit"
+ },
+ {
+ "name": "Value"
+ },
+ {
+ "name": "Variable"
+ },
+ {
+ "name": "value"
+ }
+ ]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionItemKindCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionItemTag",
+ "fields": [{
+ "name": "Deprecated"
+ },
+ {
+ "name": "value"
+ }
+ ]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionItemTagSupportCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionList",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CompletionTriggerKind",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CreateFile",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.CreateFileOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DeclarationCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DefinitionCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DefinitionParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DeleteFile",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DeleteFileOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.Diagnostic",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DiagnosticRelatedInformation",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DiagnosticSeverity",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DiagnosticTag",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DiagnosticsTagSupport",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidChangeConfigurationCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidChangeConfigurationParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidChangeTextDocumentParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidChangeWatchedFilesCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidChangeWatchedFilesRegistrationOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidCloseTextDocumentParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidOpenTextDocumentParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DidSaveTextDocumentParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentFilter",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentFormattingParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentHighlight",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentHighlightCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentHighlightKind",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentHighlightParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentLink",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentLinkCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentLinkOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentLinkParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentOnTypeFormattingOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentSymbolCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DocumentSymbolParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.DynamicRegistrationCapabilities",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.ExecuteCommandCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ExecuteCommandOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FileSystemWatcher",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FoldingRange",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FoldingRangeCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FoldingRangeProviderOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FoldingRangeRequestParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FormattingCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.FormattingOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.HoverCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.HoverParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ImplementationCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.InitializeResult",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.InitializedParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.InsertTextFormat",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.Location",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.LocationLink",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.MarkupContent",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.MessageParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.MessageType",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.OnTypeFormattingCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ParameterInformationCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.Position",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.PublishDiagnosticsCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.PublishDiagnosticsParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.Range",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.RangeFormattingCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ReferencesCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.Registration",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.RegistrationParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.RenameCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.RenameFile",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.RenameFileOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.RenameOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ResourceChange",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ResourceOperation",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.SaveOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SelectionRangeCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SemanticHighlightingCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SemanticHighlightingServerCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ServerCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.ServerInfo",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SignatureHelpCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SignatureHelpOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SignatureInformationCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.StaticRegistrationOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SymbolCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SymbolKind",
+ "fields": [{
+ "name": "value"
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SymbolKindCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.SynchronizationCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentClientCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentContentChangeEvent",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentEdit",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentIdentifier",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentItem",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentPositionParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentRegistrationOptions",
+ "allDeclaredFields": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextDocumentSyncOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TextEdit",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TypeDefinitionCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TypeDefinitionParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.TypeHierarchyCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.WorkspaceClientCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.WorkspaceEdit",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.WorkspaceEditCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.WorkspaceFolder",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.WorkspaceFoldersOptions",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.WorkspaceServerCapabilities",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.CodeActionResponseAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.DocumentChangeListAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.DocumentSymbolResponseAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.HoverTypeAdapter$Factory",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.InitializeParamsTypeAdapter$Factory",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.LocationLinkListAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.PrepareRenameResponseAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.ResourceChangeListAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.ResourceOperationTypeAdapter",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.SymbolInformationTypeAdapter$Factory",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.adapters.VersionedTextDocumentIdentifierTypeAdapter$Factory",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter$Factory",
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.jsonrpc.messages.CancelParams",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.jsonrpc.messages.ResponseError",
+ "allDeclaredFields": true,
+ "methods": [{
+ "name": "",
+ "parameterTypes": []
+ }]
+ },
+ {
+ "name": "org.eclipse.lsp4j.services.LanguageClient",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.services.LanguageServer",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.services.TextDocumentService",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.eclipse.lsp4j.services.WorkspaceService",
+ "allDeclaredMethods": true
+ },
+ {
+ "name": "org.jsoup.safety.Cleaner",
+ "fields": [{
+ "name": "whitelist"
+ }]
+ },
+ {
+ "name": "sun.misc.Unsafe",
+ "fields": [{
+ "name": "theUnsafe"
+ }],
+ "methods": [{
+ "name": "allocateInstance",
+ "parameterTypes": ["java.lang.Class"]
+ }]
+ }
+]
\ No newline at end of file
diff --git a/org.eclipse.lemminx/src/main/resources/META-INF/native-image/resource-config.json b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/resource-config.json
new file mode 100644
index 0000000000..bc89bbc7cb
--- /dev/null
+++ b/org.eclipse.lemminx/src/main/resources/META-INF/native-image/resource-config.json
@@ -0,0 +1,33 @@
+{
+ "resources":[
+ {"pattern":"\\QMETA-INF/services/javax.xml.parsers.SAXParserFactory\\E"},
+ {"pattern":"\\QMETA-INF/services/org.eclipse.lemminx.services.extensions.IXMLExtension\\E"},
+ {"pattern":"\\Qorg/apache/xml/resolver/etc/catalog.dtd\\E"},
+ {"pattern":"\\Qorg/apache/xml/resolver/etc/catalog.rng\\E"},
+ {"pattern":"\\Qorg/apache/xml/resolver/etc/catalog.xsd\\E"},
+ {"pattern":"\\Qorg/apache/xml/resolver/etc/xcatalog.dtd\\E"},
+ {"pattern":"\\Qorg/jsoup/nodes/entities-base.properties\\E"},
+ {"pattern":"\\Qorg/jsoup/nodes/entities-full.properties\\E"},
+ {"pattern":"\\Qschemas/xsd/XMLSchema.dtd\\E"},
+ {"pattern":"\\Qschemas/xsd/XMLSchema.xsd\\E"},
+ {"pattern":"\\Qschemas/xsd/datatypes.dtd\\E"},
+ {"pattern":"\\Qschemas/xsd/xml.xsd\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/catalog-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/cdata-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/comment-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/doctype-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/dtdnode-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/new-xml-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/new-xsd-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/processing-instruction-snippets.json\\E"},
+ {"pattern":"\\Qorg/eclipse/lemminx/services/snippets/xml-declaration-snippets.json\\E"}
+ ],
+ "bundles":[
+ {"name":"XMLSchemaMessagesReformatted"},
+ {"name":"org.apache.xerces.impl.msg.XMLMessages"},
+ {"name":"org.apache.xerces.impl.msg.XMLSchemaMessages"},
+ {"name":"org.apache.xerces.impl.xpath.regex.message"},
+ {"name":"version"},
+ {"name": "git"}
+ ]
+}