Skip to content

Remove deprecated API #874

@jonahgraham

Description

@jonahgraham

There are a few categories of deprecated API in LSP4J. Most of the @Deprecated annotations are applied to constructs that are deprecated in the LSP and DAP specifications.

Use git grep -p -n -A1 @Deprecated for a quick view of all the deprecated Java with some context.

See #895, but having @Deprecated on LSP/DAP spec deprecations is not really helpful.

There are numerous constructors in protocol files that are deprecated, such as one of the constructors of WorkspaceEditCapabilities

FormattingOptions getProperties and setProperties were deprecated in #99

Long deprecated and replaced with the more generic JsonRpcData

Items such as all the helper methods in Either seem to be easy decisions to remove

The various factories (like CollectionTypeAdapterFactory) seem to be easy decisions to remove

This was a misspelling and is easy to remove

This was deprecated already in #647 (comment)

One extra item that was deprecated, but not included in the above items

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions