Skip navigation links
A B C D E F G H I J L M N O P R S T V W 

A

Adapter(Gson, Type, TypeAdapter<E>, Supplier<Collection<E>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapterFactory.Adapter
Deprecated.
 
adapter - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
Adapter(Gson, TypeToken<Either<L, R>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapterFactory.Adapter
Deprecated.
 
AnnotationUtil - Class in org.eclipse.lsp4j.jsonrpc.services
 
appendHeader(StringBuilder, String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
Append a header attribute to the given builder.
apply(MessageConsumer) - Method in class org.eclipse.lsp4j.jsonrpc.MessageTracer
 

B

beginProcessing(ExecutorService) - Method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
Start a thread that listens for messages in the message producer and forwards them to the message consumer.
Builder() - Constructor for class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 

C

CANCEL_METHOD - Static variable in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
CancelChecker - Interface in org.eclipse.lsp4j.jsonrpc
Used for processing requests with cancellation support.
CancelParams - Class in org.eclipse.lsp4j.jsonrpc.messages
To cancel a request a notification message with the following properties is sent.
CancelParams() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
charset - Variable in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.Headers
 
checkCanceled() - Method in interface org.eclipse.lsp4j.jsonrpc.CancelChecker
Throw a CancellationException if the currently processed request has been canceled.
checkCanceled() - Method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures.FutureCancelChecker
 
classLoader - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
close() - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
 
collectDisjoinTypes(Type, Collection<Type>) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
collectDisjoinTypes(ParameterizedType, Collection<Type>) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
collectDisjoinTypes(Class<?>, Collection<Type>) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
CollectionTypeAdapter<E> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
A specialized type adapter for collections that can handle single values.
CollectionTypeAdapter(Gson, Type, TypeAdapter<E>, Supplier<Collection<E>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter
 
CollectionTypeAdapter.Factory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
CollectionTypeAdapterFactory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Deprecated.
CollectionTypeAdapterFactory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapterFactory
Deprecated.
 
CollectionTypeAdapterFactory.Adapter<E> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Deprecated.
CompletableFutures - Class in org.eclipse.lsp4j.jsonrpc
 
CompletableFutures.FutureCancelChecker - Class in org.eclipse.lsp4j.jsonrpc
 
computeAsync(Function<CancelChecker, R>) - Static method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures
A utility method to create a CompletableFuture with cancellation support.
computeAsync(Executor, Function<CancelChecker, R>) - Static method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures
A utility method to create a CompletableFuture with cancellation support.
ConcurrentMessageProcessor - Class in org.eclipse.lsp4j.jsonrpc.json
This class connects a message producer with a message consumer by listening for new messages in a dedicated thread.
ConcurrentMessageProcessor(MessageProducer, MessageConsumer) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
 
configureGson - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
configureGson(Consumer<GsonBuilder>) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
consume(Message) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
 
consume(Message) - Method in interface org.eclipse.lsp4j.jsonrpc.MessageConsumer
Consume a single message.
consume(Message) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
consume(Message) - Method in class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer
Constructs a log string for a given Message.
consume(Message) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
 
CONTENT_LENGTH_HEADER - Static variable in interface org.eclipse.lsp4j.jsonrpc.json.MessageConstants
 
CONTENT_TYPE_HEADER - Static variable in interface org.eclipse.lsp4j.jsonrpc.json.MessageConstants
 
contentLength - Variable in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.Headers
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.Factory
 
create(Gson, Type, TypeAdapter<?>, Supplier<Collection<Object>>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.Factory
 
create(JsonToken, JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.Factory
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter.Factory
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter.Factory
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.Factory
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter.Factory
 
create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapterFactory
 
create() - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
createErrorResponseMessage(RequestMessage, ResponseError) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
createIoLauncher(Object, Class<T>, InputStream, OutputStream, ExecutorService, Function<MessageConsumer, MessageConsumer>) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a given local service object, a given remote interface and an input and output stream.
createIoLauncher(Object, Class<T>, InputStream, OutputStream, ExecutorService, Function<MessageConsumer, MessageConsumer>, Consumer<GsonBuilder>) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a given local service object, a given remote interface and an input and output stream.
createIoLauncher(Object, Class<T>, InputStream, OutputStream, boolean, ExecutorService, Function<MessageConsumer, MessageConsumer>, Consumer<GsonBuilder>) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a given local service object, a given remote interface and an input and output stream.
createIoLauncher(Collection<Object>, Collection<Class<?>>, ClassLoader, InputStream, OutputStream, ExecutorService, Function<MessageConsumer, MessageConsumer>, Consumer<GsonBuilder>) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a collection of local service objects, a collection of remote interfaces and an input and output stream.
createJsonHandler() - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
Create the JSON handler for messages between the local and remote services.
createLauncher(ExecutorService, T, RemoteEndpoint, ConcurrentMessageProcessor) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
createLauncher(Object, Class<T>, InputStream, OutputStream) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a given local service object, a given remote interface and an input and output stream.
createLauncher(Object, Class<T>, InputStream, OutputStream, boolean, PrintWriter) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a given local service object, a given remote interface and an input and output stream, and set up message validation and tracing.
createLauncher(Object, Class<T>, InputStream, OutputStream, ExecutorService, Function<MessageConsumer, MessageConsumer>) - Static method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Create a new Launcher for a given local service object, a given remote interface and an input and output stream.
createLeft(L) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
createMessage(String, Either<String, Number>, String, Object, Object, ResponseError) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
createMessageProcessor(MessageProducer, MessageConsumer, T) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
Create the message processor that listens to the input stream.
createMethodInfo(Method, String) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
createMethodInfo(Method, boolean, String, String) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
createNotificationInfo(Method, String, JsonNotification) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
createNotificationMessage(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
createPathString(Deque<Object>) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
 
createProxy(RemoteEndpoint) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
Create the proxy for calling methods on the remote service.
createRemoteEndpoint(MessageJsonHandler) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
Create the remote endpoint that communicates with the local services.
createRequestInfo(Method, String, JsonRequest) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
createRequestMessage(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
createResponseMessage(RequestMessage) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
createResultResponseMessage(RequestMessage, Object) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
createRight(R) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
CRLF - Static variable in interface org.eclipse.lsp4j.jsonrpc.json.MessageConstants
 

D

DEFAULT_EXCEPTION_HANDLER - Static variable in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 

E

Either<L,R> - Class in org.eclipse.lsp4j.jsonrpc.messages
An either type maps union types in protocol specifications.
Either(L, R) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.Either
 
Either3<T1,T2,T3> - Class in org.eclipse.lsp4j.jsonrpc.messages
Union type for three types.
Either3(T1, Either<T2, T3>) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
EitherTypeAdapter<L,R> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Type adapter for Either and Either3.
EitherTypeAdapter(Gson, TypeToken<Either<L, R>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
EitherTypeAdapter(Gson, TypeToken<Either<L, R>>, Predicate<JsonElement>, Predicate<JsonElement>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
EitherTypeAdapter.EitherTypeArgument<T> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
EitherTypeAdapter.Factory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
EitherTypeAdapter.ListChecker - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
A predicate for the case that a type alternative is a list.
EitherTypeAdapter.PropertyChecker - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
A predicate that is usedful for checking alternatives in case both the left and the right type are JSON object types.
EitherTypeAdapterFactory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Deprecated.
EitherTypeAdapterFactory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapterFactory
Deprecated.
 
EitherTypeAdapterFactory.Adapter<L,R> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Deprecated.
Use EitherTypeAdapter instead.
EitherTypeArgument(Gson, Type) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
Endpoint - Interface in org.eclipse.lsp4j.jsonrpc
An endpoint is a generic interface that accepts jsonrpc requests and notifications.
EndpointProxy - Class in org.eclipse.lsp4j.jsonrpc.services
A Proxy that wraps an Endpoint in one or more service interfaces, i.e.
EndpointProxy(Endpoint, Class<?>) - Constructor for class org.eclipse.lsp4j.jsonrpc.services.EndpointProxy
 
EndpointProxy(Endpoint, Collection<Class<?>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.services.EndpointProxy
 
EnumTypeAdapter<T extends java.lang.Enum<T>> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
A custom type adapter for enums that uses integer values.
EnumTypeAdapter.Factory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
EnumTypeAdapterFactory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Deprecated.
EnumTypeAdapterFactory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapterFactory
Deprecated.
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two
 
equals(Object) - Method in class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer.RequestMetadata
 
exceptionHandler - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
executorService - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
expectedTokens - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 

F

Factory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.Factory
 
Factory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.Factory
 
Factory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter.Factory
 
Factory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter.Factory
 
Factory(MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.Factory
 
Factory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter.Factory
 
findDelegateSegments(Class<?>, Set<Class<?>>, Consumer<Method>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
findRpcMethods(Class<?>, Set<Class<?>>, Consumer<AnnotationUtil.MethodInfo>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
Depth first search for annotated methods in hierarchy.
fireError(Throwable) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
Log an error.
fireStreamClosed(Exception) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
Report that the stream was closed through an exception.
first - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapter
 
forFirst(T1) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
forLeft(L) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
forLeft3(T1) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
forRight(R) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
forRight3(Either<T2, T3>) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
forSecond(T2) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
forThird(T3) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
fromJson(JsonReader, Type) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
fromJson(JsonElement, Type) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
FutureCancelChecker(CompletableFuture<?>) - Constructor for class org.eclipse.lsp4j.jsonrpc.CompletableFutures.FutureCancelChecker
 

G

GenericEndpoint - Class in org.eclipse.lsp4j.jsonrpc.services
An endpoint that reflectively delegates to JsonNotification and JsonRequest methods of one or more given delegate objects.
GenericEndpoint(Object) - Constructor for class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 
GenericEndpoint(Collection<Object>) - Constructor for class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 
get() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
get() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
getAllDisjoinTypes(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
getArguments(Method, Object) - Method in class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 
getCause() - Method in class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
getCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
getConstructor(Class<? extends Collection<E>>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.Factory
 
getData() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
getDefaultGsonBuilder() - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
Create a GsonBuilder with default settings for parsing JSON-RPC messages.
getElementTypes(TypeToken<?>, Class<?>) - Static method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TypeUtils
Determine the actual type arguments of the given type token with regard to the given target type.
getError() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
getExpectedToken(Class<?>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
getExpectedTypes(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TypeUtils
Return all possible types that can be expected when an element of the given type is parsed.
getFirst() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
getFirst() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two
 
getGson() - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
getHeader(int) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
Construct a header to be prepended to the actual content.
getId() - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
getId() - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
getInput() - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
 
getIssueCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
getIssues() - Method in exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
 
getJsonrpc() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
 
getJsonRpcMethod(String) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
Resolve an RPC method by name.
getLeft() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
getLeftDisjointType(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
getMessage() - Method in exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
 
getMessage() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
getMessage() - Method in exception org.eclipse.lsp4j.jsonrpc.ResponseErrorException
 
getMethod() - Method in class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
getMethod() - Method in class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
getMethodName() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
getMethodName(Method, boolean, String, String) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
getMethodProvider() - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
getOutput() - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
 
getParameterTypes(String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
getParameterTypes() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
getParameterTypes(Method) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
getParams() - Method in class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
getParams() - Method in class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
getParams(Object[], AnnotationUtil.MethodInfo) - Method in class org.eclipse.lsp4j.jsonrpc.services.EndpointProxy
 
getPropertyName(Method) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
 
getRawId() - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
getRawId() - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
getRemoteEndpoint() - Method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Returns the remote endpoint.
getRemoteEndpoint() - Method in class org.eclipse.lsp4j.jsonrpc.StandardLauncher
 
getRemoteProxy() - Method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Returns the proxy instance that implements the remote service interfaces.
getRemoteProxy() - Method in class org.eclipse.lsp4j.jsonrpc.StandardLauncher
 
getResponseError() - Method in exception org.eclipse.lsp4j.jsonrpc.ResponseErrorException
 
getResult() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
getReturnType() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
getReturnTypeAdapterFactory() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
getRight() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
getRightDisjointType(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
getRpcMessage() - Method in exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
 
getSecond() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
getSecond() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two
 
getSegment(Class<?>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
getSupportedMethods() - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
Gather all JSON-RPC methods from the local and remote services.
getSupportedMethods(Class<?>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
Finds all Json RPC methods on a given class.
getText() - Method in class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
getThird() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
getValue() - Method in enum org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
 

H

handle(Message, List<MessageIssue>) - Method in interface org.eclipse.lsp4j.jsonrpc.MessageIssueHandler
Handle issues found while parsing or validating a message.
handle(Message, List<MessageIssue>) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
handleCancellation(NotificationMessage) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
Cancellation is handled inside this class and not forwarded to the local endpoint.
handleMessage(InputStream, StreamMessageProducer.Headers) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
Read the JSON content part of a message, parse it, and notify the callback.
handleNotification(NotificationMessage) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
handleRequest(RequestMessage) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
handleRequestIssues(RequestMessage, List<MessageIssue>) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
handleResponse(ResponseMessage) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
handleResponseIssues(ResponseMessage, List<MessageIssue>) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two
 
hashCode() - Method in class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer.RequestMetadata
 
Headers() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.Headers
 

I

IdentifiableMessage - Class in org.eclipse.lsp4j.jsonrpc.messages
A message with an id property.
IdentifiableMessage() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
indicatesStreamClosed(Throwable) - Static method in exception org.eclipse.lsp4j.jsonrpc.JsonRpcException
Whether the given exception indicates that the currently accessed stream has been closed.
input - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
invoke(Object, Method, Object[]) - Method in class org.eclipse.lsp4j.jsonrpc.services.EndpointProxy
 
isAssignable(JsonToken) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
isCanceled() - Method in interface org.eclipse.lsp4j.jsonrpc.CancelChecker
Check for cancellation without throwing an exception.
isCanceled() - Method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures.FutureCancelChecker
 
isCancellation(Throwable) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
isDelegateMethod(Method) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
 
isEither(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TypeUtils
Test whether the given type is Either.
isEither(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
isEither(ParameterizedType) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
isEither(Class<?>) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
Deprecated.
isFirst() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
isGetter(Method) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
 
isLeft() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
isNotification() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
isNull(Object) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
isNullOrVoidType(Type) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
isOptionalMethod(String) - Method in class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 
isRight() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
isSecond() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
isThird() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
isTwoTuple(Type) - Static method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TypeUtils
Test whether the given type is a two-tuple (pair).
isValid(Object) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
Check whether the given object is valid.

J

JSON_MIME_TYPE - Static variable in interface org.eclipse.lsp4j.jsonrpc.json.MessageConstants
 
JsonDelegate - Annotation Type in org.eclipse.lsp4j.jsonrpc.services
A method annotated with JsonDelegate is treated as a delegate method.
JsonElementTypeAdapter - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
A type adapter that reads every input into a tree of JsonElements.
JsonElementTypeAdapter(Gson) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter
 
JsonElementTypeAdapter.Factory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
This factory should not be registered with a GsonBuilder because it always matches.
JsonNotification - Annotation Type in org.eclipse.lsp4j.jsonrpc.services
Annotation to mark a notification method on an interface or class.
JsonRequest - Annotation Type in org.eclipse.lsp4j.jsonrpc.services
Annotation to mark a request method on an interface or class.
JSONRPC_VERSION - Static variable in interface org.eclipse.lsp4j.jsonrpc.json.MessageConstants
 
JsonRpcException - Exception in org.eclipse.lsp4j.jsonrpc
An exception thrown when accessing the JSON-RPC communication channel fails.
JsonRpcException(Throwable) - Constructor for exception org.eclipse.lsp4j.jsonrpc.JsonRpcException
 
JsonRpcMethod - Class in org.eclipse.lsp4j.jsonrpc.json
A description of a JSON-RPC method.
JsonRpcMethodProvider - Interface in org.eclipse.lsp4j.jsonrpc.json
Provides JsonRpcMethod.
JsonSegment - Annotation Type in org.eclipse.lsp4j.jsonrpc.services
Use on a class or interface to prefix all declared JsonRequest and JsonNotification methods.

L

Launcher<T> - Interface in org.eclipse.lsp4j.jsonrpc
This is the entry point for applications that use LSP4J.
Launcher.Builder<T> - Class in org.eclipse.lsp4j.jsonrpc
The launcher builder wires up all components for JSON-RPC communication.
left - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
leftChecker - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
ListChecker(Predicate<JsonElement>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.ListChecker
 
ListChecker(Predicate<JsonElement>, boolean) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.ListChecker
 
listen(MessageConsumer) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
 
listen(MessageConsumer) - Method in interface org.eclipse.lsp4j.jsonrpc.MessageProducer
Listen to a message source and forward all messages to the given consumer.
localServices - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
logIssues(Message, List<MessageIssue>) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 

M

Message - Class in org.eclipse.lsp4j.jsonrpc.messages
A general message as defined by JSON-RPC.
Message() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.Message
 
MessageConstants - Interface in org.eclipse.lsp4j.jsonrpc.json
 
MessageConsumer - Interface in org.eclipse.lsp4j.jsonrpc
 
MessageIssue - Class in org.eclipse.lsp4j.jsonrpc.messages
Describes an issue found while parsing or validating a message.
MessageIssue(String) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
MessageIssue(String, int) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
MessageIssue(String, int, Exception) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
MessageIssueException - Exception in org.eclipse.lsp4j.jsonrpc
An exception thrown to notify the caller of a MessageConsumer that one or more issues were found while parsing or validating a message.
MessageIssueException(Message, MessageIssue) - Constructor for exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
 
MessageIssueException(Message, Collection<MessageIssue>) - Constructor for exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
 
MessageIssueException(Message, Stream<MessageIssue>) - Constructor for exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
 
MessageIssueHandler - Interface in org.eclipse.lsp4j.jsonrpc
 
MessageJsonHandler - Class in org.eclipse.lsp4j.jsonrpc.json
A wrapper around Gson that includes configuration required for JSON-RPC messages.
MessageJsonHandler(Map<String, JsonRpcMethod>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
MessageJsonHandler(Map<String, JsonRpcMethod>, Consumer<GsonBuilder>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
MessageProducer - Interface in org.eclipse.lsp4j.jsonrpc
 
messageTracer - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
MessageTracer - Class in org.eclipse.lsp4j.jsonrpc
Wraps a MessageConsumer with one that logs in a way that the LSP Inspector can parse.
MessageTypeAdapter - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
The type adapter for messages dispatches between the different message types: RequestMessage, ResponseMessage, and NotificationMessage.
MessageTypeAdapter(MessageJsonHandler, Gson) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
MessageTypeAdapter.Factory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
MessageTypeAdapterFactory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Deprecated.
MessageTypeAdapterFactory(MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapterFactory
Deprecated.
 
messageWrapper - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
MethodProvider - Interface in org.eclipse.lsp4j.jsonrpc.json
 

N

NonNull - Annotation Type in org.eclipse.lsp4j.jsonrpc.validation
Indicates that the annotated field or parameter must not be set to null.
notification(String, Type...) - Static method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
NotificationMessage - Class in org.eclipse.lsp4j.jsonrpc.messages
A notification message.
NotificationMessage() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
notify(String, Object) - Method in interface org.eclipse.lsp4j.jsonrpc.Endpoint
 
notify(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
Send a notification to the remote endpoint.
notify(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 

O

org.eclipse.lsp4j.jsonrpc - package org.eclipse.lsp4j.jsonrpc
 
org.eclipse.lsp4j.jsonrpc.json - package org.eclipse.lsp4j.jsonrpc.json
 
org.eclipse.lsp4j.jsonrpc.json.adapters - package org.eclipse.lsp4j.jsonrpc.json.adapters
 
org.eclipse.lsp4j.jsonrpc.messages - package org.eclipse.lsp4j.jsonrpc.messages
 
org.eclipse.lsp4j.jsonrpc.services - package org.eclipse.lsp4j.jsonrpc.services
 
org.eclipse.lsp4j.jsonrpc.validation - package org.eclipse.lsp4j.jsonrpc.validation
 
output - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 

P

parseHeader(String, StreamMessageProducer.Headers) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
Parse a header attribute and set the corresponding data in the StreamMessageProducer.Headers fields.
parseMessage(CharSequence) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
parseMessage(Reader) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
parseParams(JsonReader, String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
Convert the json input into the parameters object corresponding to the call made by method.
parseParams(Object, String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
Convert the JsonElement into the parameters object corresponding to the call made by method.
parseResult(JsonReader, String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
Convert the json input into the result object corresponding to the call made by id.
parseResult(Object, String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
Convert the JsonElement into the result object corresponding to the call made by id.
processingEnded() - Method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
 
processingStarted() - Method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
 
PropertyChecker(String) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.PropertyChecker
 
PropertyChecker(String, String) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.PropertyChecker
 
PropertyChecker(String, Class<? extends JsonElement>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.PropertyChecker
 

R

read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
read(JsonElement) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter
 
read(JsonReader) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapter
 
recursiveFindRpcMethods(Object, Set<Class<?>>, Set<Class<?>>) - Method in class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 
ReflectiveMessageValidator - Class in org.eclipse.lsp4j.jsonrpc.validation
Validates messages and forwards them to other message consumers.
ReflectiveMessageValidator() - Constructor for class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
When created with this constructor, the validator acts as a message sink.
ReflectiveMessageValidator(MessageConsumer) - Constructor for class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
Forward messages to the given consumer unless an issue is found.
RemoteEndpoint - Class in org.eclipse.lsp4j.jsonrpc
An endpoint that can be used to send messages to a given MessageConsumer by calling RemoteEndpoint.request(String, Object) or RemoteEndpoint.notify(String, Object).
RemoteEndpoint(MessageConsumer, Endpoint, Function<Throwable, ResponseError>) - Constructor for class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
RemoteEndpoint(MessageConsumer, Endpoint) - Constructor for class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
remoteInterfaces - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
request(String, Object) - Method in interface org.eclipse.lsp4j.jsonrpc.Endpoint
 
request(String, Type, Type...) - Static method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
request(String, Type, TypeAdapterFactory, Type...) - Static method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
request(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
Send a request to the remote endpoint.
request(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint
 
RequestMessage - Class in org.eclipse.lsp4j.jsonrpc.messages
A request message to describe a request between the client and the server.
RequestMessage() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
RequestMetadata(String, Instant) - Constructor for class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer.RequestMetadata
 
resolveMethod(String) - Method in interface org.eclipse.lsp4j.jsonrpc.json.MethodProvider
Returns the method name for a given request id, or null if such request id is unknown.
resolveMethod(String) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
ResponseError - Class in org.eclipse.lsp4j.jsonrpc.messages
 
ResponseError() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
ResponseError(ResponseErrorCode, String, Object) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
ResponseError(int, String, Object) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
ResponseErrorCode - Enum in org.eclipse.lsp4j.jsonrpc.messages
A number indicating the error type that occurred.
ResponseErrorException - Exception in org.eclipse.lsp4j.jsonrpc
An exception thrown in order to send a response with an attached error object.
ResponseErrorException(ResponseError) - Constructor for exception org.eclipse.lsp4j.jsonrpc.ResponseErrorException
 
ResponseJsonAdapter - Annotation Type in org.eclipse.lsp4j.jsonrpc.json
An annotation that indicates the Gson TypeAdapterFactory to use with a request response.
ResponseMessage - Class in org.eclipse.lsp4j.jsonrpc.messages
Response message sent as a result of a request.
ResponseMessage() - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
right - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
rightChecker - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
run() - Method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
 

S

second - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapter
 
sendCancelNotification(Either<String, Number>) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
 
serialize(Message) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
serialize(Message, Writer) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
ServiceEndpoints - Class in org.eclipse.lsp4j.jsonrpc.services
 
setClassLoader(ClassLoader) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setCode(int) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
setCode(ResponseErrorCode) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
setData(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
setError(ResponseError) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
setExceptionHandler(Function<Throwable, ResponseError>) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setExecutorService(ExecutorService) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setId(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
setId(int) - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
setId(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
setId(int) - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
setInput(InputStream) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
 
setInput(InputStream) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setJsonrpc(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
 
setLocalService(Object) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setLocalServices(Collection<Object>) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setMessage(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
setMethod(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
setMethod(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
setMethodProvider(MethodProvider) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
 
setOutput(OutputStream) - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
 
setOutput(OutputStream) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setParams(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.NotificationMessage
 
setParams(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.RequestMessage
 
setRawId(Either<String, Number>) - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
setRawId(Either<String, Number>) - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
 
setRemoteInterface(Class<? extends T>) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setRemoteInterfaces(Collection<Class<? extends T>>) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
setResult(Object) - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseMessage
 
StandardLauncher<T> - Class in org.eclipse.lsp4j.jsonrpc
 
StandardLauncher(StreamMessageProducer, MessageConsumer, ExecutorService, T, RemoteEndpoint) - Constructor for class org.eclipse.lsp4j.jsonrpc.StandardLauncher
 
StandardLauncher(ExecutorService, T, RemoteEndpoint, ConcurrentMessageProcessor) - Constructor for class org.eclipse.lsp4j.jsonrpc.StandardLauncher
 
startListening() - Method in interface org.eclipse.lsp4j.jsonrpc.Launcher
Start a thread that listens to the input stream.
startListening() - Method in class org.eclipse.lsp4j.jsonrpc.StandardLauncher
 
startProcessing(MessageProducer, MessageConsumer, ExecutorService) - Static method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
Deprecated.
Please use the non-static ConcurrentMessageProcessor.beginProcessing() instead.
StreamMessageConsumer - Class in org.eclipse.lsp4j.jsonrpc.json
A message consumer that serializes messages to JSON and sends them to an output stream.
StreamMessageConsumer(MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
 
StreamMessageConsumer(OutputStream, MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
 
StreamMessageConsumer(OutputStream, String, MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
 
StreamMessageProducer - Class in org.eclipse.lsp4j.jsonrpc.json
A message producer that reads from an input stream and parses messages from JSON.
StreamMessageProducer(InputStream, MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
 
StreamMessageProducer(InputStream, MessageJsonHandler, MessageIssueHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
 
StreamMessageProducer.Headers - Class in org.eclipse.lsp4j.jsonrpc.json
 
supportedMethods() - Method in interface org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethodProvider
 

T

test(JsonElement) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.ListChecker
 
test(JsonElement) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.PropertyChecker
 
ThrowableTypeAdapter - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
A type adapter for Throwable.
ThrowableTypeAdapter(TypeToken<Throwable>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter
 
ThrowableTypeAdapter.Factory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
toEndpoint(Object) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
Wraps a given object with service annotations behind an Endpoint interface.
toEndpoint(Collection<Object>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
Wraps a collection of objects with service annotations behind an Endpoint interface.
toServiceObject(Endpoint, Class<T>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
Wraps a given Endpoint in the given service interface.
toServiceObject(Endpoint, Collection<Class<?>>, ClassLoader) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
Wraps a given Endpoint in the given service interfaces.
toString() - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
 
toString(Object) - Static method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
Perform JSON serialization of the given object using the default configuration of JSON-RPC messages enhanced with the pretty printing option.
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.MessageIssue
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two
 
toString() - Method in class org.eclipse.lsp4j.jsonrpc.services.EndpointProxy
 
traceMessages(PrintWriter) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
TracingMessageConsumer - Class in org.eclipse.lsp4j.jsonrpc
A MessageConsumer that outputs logs in a format that can be parsed by the LSP Inspector.
TracingMessageConsumer(MessageConsumer, Map<String, TracingMessageConsumer.RequestMetadata>, Map<String, TracingMessageConsumer.RequestMetadata>, PrintWriter, Clock) - Constructor for class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer
 
TracingMessageConsumer(MessageConsumer, Map<String, TracingMessageConsumer.RequestMetadata>, Map<String, TracingMessageConsumer.RequestMetadata>, PrintWriter, Clock, Locale) - Constructor for class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer
 
TracingMessageConsumer.RequestMetadata - Class in org.eclipse.lsp4j.jsonrpc
Data class for holding pending request metadata.
Tuple - Interface in org.eclipse.lsp4j.jsonrpc.messages
Representation of tuple types.
Tuple.Two<F,S> - Class in org.eclipse.lsp4j.jsonrpc.messages
A two-tuple, i.e.
TupleTypeAdapters - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
TupleTypeAdapters.TwoTypeAdapter<F,S> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
TupleTypeAdapters.TwoTypeAdapterFactory - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
 
two(F, S) - Static method in interface org.eclipse.lsp4j.jsonrpc.messages.Tuple
 
Two(F, S) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two
 
TwoTypeAdapter(Gson, TypeToken<Tuple.Two<F, S>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapter
 
TwoTypeAdapterFactory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapterFactory
 
typeToken - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
typeToken - Variable in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
TypeUtils - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
Utilities for handling types in the JSON parser / serializer.

V

validate(Object) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
 
validate(Object, List<MessageIssue>, Deque<Object>, Deque<Object>) - Method in class org.eclipse.lsp4j.jsonrpc.validation.ReflectiveMessageValidator
Validate all fields of the given object.
validateMessages - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
validateMessages(boolean) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
valueOf(String) - Static method in enum org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapFuture(Future<?>, MessageProducer) - Static method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
 
wrapMessageConsumer(MessageConsumer) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
wrapMessages(Function<MessageConsumer, MessageConsumer>) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
 
write(JsonWriter, Collection<E>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter
 
write(JsonWriter, T) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
 
write(JsonWriter, Either<L, R>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
 
write(JsonWriter, T) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter
 
write(JsonWriter, Object) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter
 
write(JsonWriter, Message) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
write(JsonWriter, Throwable) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter
 
write(JsonWriter, Tuple.Two<F, S>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapter
 
writeId(JsonWriter, Either<String, Number>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
 
writeNullValue(JsonWriter) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
Use this method to write a null value even if the JSON writer is set to not serialize null.
A B C D E F G H I J L M N O P R S T V W 
Skip navigation links