lsp4jakarta icon indicating copy to clipboard operation
lsp4jakarta copied to clipboard

WebSocket: Add quickfix to remove duplicate parameters

Open dalidia opened this issue 3 years ago • 0 comments

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 one Session parameter and/or EndpointConfig parameter.
  • For @OnClose, specs found here mentioned that they could be only one Session parameter and/or CloseReason parameter.
  • For @OnError, specs found here mentioned that they could be only one Session parameter and they must have only one Throwable parameter.

Type of language feature proposed:

Select all that apply

  • [ ] diagnostic
  • [x] quick-fix
  • [ ] snippet
  • [ ] other, please specify:

dalidia avatar Apr 08 '22 21:04 dalidia