Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
import java.lang.annotation.Target;

/**
* An API using this annotation is part of an upcomming Language Server Protocol Specification and
* in a draft state. Therefore it is subject to incompatible changes (including even removal)
* in a future release.
*
* An API using this annotation is part of an upcoming Protocol Specification and in a draft state.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for generalizing the language here.

* Therefore it is subject to incompatible changes (including even removal) in a future release.
*/
@Retention(RetentionPolicy.CLASS)
@Target({
Expand All @@ -31,4 +29,4 @@
ElementType.TYPE
})
@Documented
public @interface Draft {}
public @interface ProtocolDraft {}
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
******************************************************************************/
package org.eclipse.lsp4j;

import org.eclipse.lsp4j.jsonrpc.Draft;
import org.eclipse.lsp4j.jsonrpc.ProtocolDraft;

/**
* Defines how values from a set of defaults and an individual item will be merged.
* <p>
* Since 3.18.0
*/
@Draft
@ProtocolDraft
public enum ApplyKind {
/**
* The value from the individual item (if provided and not {@code null}) will be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
******************************************************************************/
package org.eclipse.lsp4j;

import org.eclipse.lsp4j.jsonrpc.Draft;
import org.eclipse.lsp4j.jsonrpc.ProtocolDraft;

/**
* Code action tags are extra annotations that tweak the behavior of a code action.
* <p>
* Since 3.18.0
*/
@Draft
@ProtocolDraft
public enum CodeActionTag {
/**
* Marks the code action as LLM-generated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
******************************************************************************/
package org.eclipse.lsp4j;

import org.eclipse.lsp4j.jsonrpc.Draft;
import org.eclipse.lsp4j.jsonrpc.ProtocolDraft;

/**
* Describes how an inline completion request was triggered.
* <p>
* Since 3.18.0
*/
@Draft
@ProtocolDraft
public enum InlineCompletionTriggerKind {
/**
* Completion was triggered explicitly by a user gesture. Return multiple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
******************************************************************************/
package org.eclipse.lsp4j;

import org.eclipse.lsp4j.jsonrpc.Draft;
import org.eclipse.lsp4j.jsonrpc.ProtocolDraft;

public enum MessageType {

Expand Down Expand Up @@ -40,7 +40,7 @@ public enum MessageType {
* <p>
* Since 3.18.0
*/
@Draft
@ProtocolDraft
Debug(5);

private final int value;
Expand Down
Loading