eclipse / lsp4jakarta

Language Server for Jakarta EE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error diagnostic returned for non-public resource method on interface, but interface method should be treated as public

scottkurz opened this issue · comments

Description:

Using LSP4Jakarta v0.1.0, if I follow the Open Liberty MicroProfile Rest Client guide we get an error diagnostic here on line:

Properties getProperties() throws UnknownUriException, ProcessingException;

with message "Only public methods may be exposed as resource methods".

Since SystemClient is an interface, however, this seems like an incorrect way to check. This should be treated as a public method for this check.

Type of language feature proposed:

Select all that apply

  • diagnostic

Fixed by PR #490