Closed mrglavas closed 1 month ago
A mapping is required for the AnnotationConstants.DIAGNOSTIC_CODE_PREDESTROY_STATIC diagnostic.
AnnotationConstants.DIAGNOSTIC_CODE_PREDESTROY_STATIC
In current https://github.com/eclipse/lsp4jakarta/blob/main/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/plugin.xml from LSP4Jakarta:
<codeAction kind="quickfix" targetDiagnostic="jakarta-annotations#PreDestroyStatic" class="org.eclipse.lsp4jakarta.jdt.internal.annotations.RemoveStaticModifierQuickFix" />
Should add an equivalent binding in LTI plugin.xml for RemoveStaticModifierQuickFix.
plugin.xml
RemoveStaticModifierQuickFix
Also see:
One of the quick fix resolutions for this diagnostic should be to remove the static modifier from the method.
static
Resolved by https://github.com/OpenLiberty/liberty-tools-intellij/pull/778.
A mapping is required for the
AnnotationConstants.DIAGNOSTIC_CODE_PREDESTROY_STATIC
diagnostic.In current https://github.com/eclipse/lsp4jakarta/blob/main/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/plugin.xml from LSP4Jakarta:
Should add an equivalent binding in LTI
plugin.xml
forRemoveStaticModifierQuickFix
.Also see:
One of the quick fix resolutions for this diagnostic should be to remove the
static
modifier from the method.