lsp4jakarta
lsp4jakarta copied to clipboard
WebSocket: Add quickfix to remove duplicate parameters
Description:
Annotated methods with @OnClose, @OnOpen and @OnError require some parameters to only appear once.
Specification:
- For
@OnOpen, specs found here mentioned that they could be only oneSessionparameter and/orEndpointConfigparameter. - For
@OnClose, specs found here mentioned that they could be only oneSessionparameter and/orCloseReasonparameter. - For
@OnError, specs found here mentioned that they could be only oneSessionparameter and they must have only oneThrowableparameter.
Type of language feature proposed:
Select all that apply
- [ ] diagnostic
- [x] quick-fix
- [ ] snippet
- [ ] other, please specify: