A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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.
- Adapter(Gson, Type, TypeAdapter<E>, Supplier<Collection<E>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapterFactory.Adapter
-
Deprecated.
- add(Object) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
- add(String, Object) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
- addAllFields() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Adds all fields declared in the object's class and its superclasses to the output.
- addAllFields(Predicate<Field>) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Adds all fields declared in the object's class and its superclasses that satisfy the given condition to the output.
- addDeclaredFields() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Adds all fields declared directly in the object's class to the output
- addDeclaredFields(Predicate<Field>) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Adds all fields declared directly in the object's class that satisfy the given condition to the output
- addField(String) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
- 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
- available() - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
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
CancellationExceptionif the currently processed request has been canceled. - checkCanceled() - Method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures.FutureCancelChecker
- checkNotNull(T, String) - Static method in class org.eclipse.lsp4j.jsonrpc.util.Preconditions
- classLoader - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
- close() - Method in class org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer
- close() - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- collectDisjoinTypes(Class<?>, 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(Type, 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.Use
CollectionTypeAdapter.Factoryinstead. - CollectionTypeAdapterFactory() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapterFactory
-
Deprecated.
- CollectionTypeAdapterFactory.Adapter<E> - Class in org.eclipse.lsp4j.jsonrpc.json.adapters
-
Deprecated.Use
CollectionTypeAdapterinstead. - CompletableFutures - Class in org.eclipse.lsp4j.jsonrpc
- CompletableFutures.FutureCancelChecker - Class in org.eclipse.lsp4j.jsonrpc
- computeAsync(Executor, Function<CancelChecker, R>) - Static method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures
-
A utility method to create a
CompletableFuturewith cancellation support. - computeAsync(Function<CancelChecker, R>) - Static method in class org.eclipse.lsp4j.jsonrpc.CompletableFutures
-
A utility method to create a
CompletableFuturewith 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
- ContentModified - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
The server detected that the content of a document got modified outside normal conditions.
- create() - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
- create(Gson, TypeToken<T>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter.Factory
- 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(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
- createErrorResponseMessage(RequestMessage, ResponseError) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
- 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(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(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(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.
- createLauncher(ExecutorService, T, RemoteEndpoint, ConcurrentMessageProcessor) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
- 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, boolean, String, String) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
- createMethodInfo(Method, 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
- EitherTypeAdapter(Gson, TypeToken<? extends Either<L, R>>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
- EitherTypeAdapter(Gson, TypeToken<? extends Either<L, R>>, Predicate<JsonElement>, Predicate<JsonElement>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
- EitherTypeAdapter(Gson, TypeToken<? extends Either<L, R>>, Predicate<JsonElement>, Predicate<JsonElement>, TypeAdapter<L>, TypeAdapter<R>) - 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 useful 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.Use
EitherTypeAdapter.Factoryinstead. - 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
EitherTypeAdapterinstead. - EitherTypeArgument(Gson, Type) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
- EitherTypeArgument(Gson, Type, TypeAdapter<T>) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
- enableNullChecks(boolean) - Static method in class org.eclipse.lsp4j.jsonrpc.util.Preconditions
- 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
Endpointin 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
- endProcessing(Object) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder.ToStringContext
- 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.Use
EnumTypeAdapter.Factoryinstead. - 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() - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter.Factory
- Factory(MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.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
- format(Object) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
-
Perform JSON serialization of the given object using the configuration of JSON-RPC messages enhanced with the pretty printing option.
- 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(JsonElement, Type) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
- fromJson(JsonReader, 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
JsonNotificationandJsonRequestmethods 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.Use
TypeUtils.getExpectedTypes(Type)instead - 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
GsonBuilderwith 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
- getJsonHandler() - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
- 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
-
Deprecated.Use
TypeUtils.getElementTypes(Type, Class, Class)instead - 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() - Method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
- getParameterTypes(Method) - Static method in class org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil
- getParameterTypes(String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
- 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
-
Deprecated.Use
TypeUtils.getElementTypes(Type, Class, Class)instead - 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
- handleParameter(JsonWriter, Object, String) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
- 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
- hideFieldNames() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Field names will not be included in the output.
I
- IdentifiableMessage - Class in org.eclipse.lsp4j.jsonrpc.messages
-
A message with an
idproperty. - 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
- INSTANCE - Static variable in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder.ToStringContext
- InternalError - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
Internal JSON-RPC error.
- InvalidParams - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
Invalid method parameter(s).
- InvalidRequest - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
The JSON sent is not a valid Request object.
- 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(Class<?>) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
-
Deprecated.Use
TypeUtils.isEither(Type)instead - isEither(ParameterizedType) - Static method in class org.eclipse.lsp4j.jsonrpc.messages.Either
-
Deprecated.Use
TypeUtils.isEither(Type)instead - 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.Use
TypeUtils.isEither(Type)instead - 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
JsonDelegateis 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.
- jsonHandler() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
- 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. - jsonrpcReservedErrorRangeEnd - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
This is the end range of JSON RPC reserved error codes.
- jsonrpcReservedErrorRangeStart - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
This is the start range of JSON RPC reserved error codes.
- JsonSegment - Annotation Type in org.eclipse.lsp4j.jsonrpc.services
-
Use on a class or interface to prefix all declared
JsonRequestandJsonNotificationmethods.
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
- LimitedInputStream - Class in org.eclipse.lsp4j.jsonrpc.util
- LimitedInputStream(InputStream, int, boolean) - Constructor for class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- 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
- lspReservedErrorRangeEnd - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
This is the end range of LSP reserved error codes.
- lspReservedErrorRangeStart - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
This is the start range of LSP reserved error codes.
M
- map(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either
- map(Function<? super T1, ? extends T>, Function<? super T2, ? extends T>, Function<? super T3, ? extends T>) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Either3
- mark(int) - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- 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
MessageConsumerthat one or more issues were found while parsing or validating a message. - MessageIssueException(Message, Collection<MessageIssue>) - Constructor for exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
- MessageIssueException(Message, Stream<MessageIssue>) - Constructor for exception org.eclipse.lsp4j.jsonrpc.MessageIssueException
- MessageIssueException(Message, 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
MessageConsumerwith 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, andNotificationMessage. - 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.Use
MessageTypeAdapter.Factoryinstead. - MessageTypeAdapterFactory(MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapterFactory
-
Deprecated.
- messageWrapper - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
- MethodNotFound - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
The method does not exist / is not available.
- 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.util - package org.eclipse.lsp4j.jsonrpc.util
- org.eclipse.lsp4j.jsonrpc.validation - package org.eclipse.lsp4j.jsonrpc.validation
- output - Variable in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
P
- ParseError - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
Invalid JSON was received by the server.
- 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.Headersfields. - parseMessage(Reader) - Method in class org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler
- parseMessage(CharSequence) - 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.
- Preconditions - Class in org.eclipse.lsp4j.jsonrpc.util
-
Utilities for checking method and constructor arguments.
- 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, Class<? extends JsonElement>) - 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
R
- read() - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- read(byte[], int, int) - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- read(JsonElement) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
- 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(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
MessageConsumerby callingRemoteEndpoint.request(String, Object)orRemoteEndpoint.notify(String, Object). - RemoteEndpoint(MessageConsumer, Endpoint) - Constructor for class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
- RemoteEndpoint(MessageConsumer, Endpoint, Function<Throwable, ResponseError>) - 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, 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
- request(String, Type, TypeAdapterFactory, Type...) - Static method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
- request(String, Type, Type...) - Static method in class org.eclipse.lsp4j.jsonrpc.json.JsonRpcMethod
- RequestCancelled - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
The client has canceled a request and a server as detected the cancel.
- RequestFailed - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
A request failed but it was syntactically correct, e.g the method name was known and the parameters were valid.
- 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
- reset() - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- 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(int, String, Object) - Constructor for class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
- ResponseError(ResponseErrorCode, 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
errorobject. - 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
TypeAdapterFactoryto 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
- ServerCancelled - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
The server cancelled the request.
- serverNotInitialized - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
Deprecated.
- ServerNotInitialized - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
-
Error code indicating that a server received a notification or request before the server has received the
initializerequest. - 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(int) - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
- setId(int) - Method in class org.eclipse.lsp4j.jsonrpc.messages.IdentifiableMessage
- setId(String) - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
- setId(String) - 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
- setJsonHandler(MessageJsonHandler) - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
- setJsonHandler(MessageJsonHandler) - Method in class org.eclipse.lsp4j.jsonrpc.MessageTracer
- setJsonHandler(MessageJsonHandler) - Method in class org.eclipse.lsp4j.jsonrpc.RemoteEndpoint
- setJsonHandler(MessageJsonHandler) - Method in class org.eclipse.lsp4j.jsonrpc.TracingMessageConsumer
- 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
- singleLine() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Fields are printed on a single line, separated by commas instead of newlines
- skip(long) - Method in class org.eclipse.lsp4j.jsonrpc.util.LimitedInputStream
- skipNulls() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Fields with null values will be excluded from the output
- StandardLauncher<T> - Class in org.eclipse.lsp4j.jsonrpc
- StandardLauncher(ExecutorService, T, RemoteEndpoint, ConcurrentMessageProcessor) - Constructor for class org.eclipse.lsp4j.jsonrpc.StandardLauncher
- StandardLauncher(StreamMessageProducer, MessageConsumer, ExecutorService, T, RemoteEndpoint) - 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(Object) - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder.ToStringContext
- startProcessing(MessageProducer, MessageConsumer, ExecutorService) - Static method in class org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor
-
Deprecated.Please use the non-static
ConcurrentMessageProcessor.beginProcessing(java.util.concurrent.ExecutorService)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(OutputStream, String, MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
- StreamMessageConsumer(OutputStream, MessageJsonHandler) - Constructor for class org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer
- StreamMessageConsumer(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
Endpointinterface. - toEndpoint(Collection<Object>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
-
Wraps a collection of objects with service annotations behind an
Endpointinterface. - toServiceObject(Endpoint, Class<T>) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
-
Wraps a given
Endpointin the given service interface. - toServiceObject(Endpoint, Collection<Class<?>>, ClassLoader) - Static method in class org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints
-
Wraps a given
Endpointin 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() - 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
- toString() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
- 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.
- ToStringBuilder - Class in org.eclipse.lsp4j.jsonrpc.util
-
Helps with the construction of good
Object.toString()representations. - ToStringBuilder(Object) - Constructor for class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
Creates a new ToStringBuilder for the given object.
- ToStringBuilder.ToStringContext - Class in org.eclipse.lsp4j.jsonrpc.util
- ToStringContext() - Constructor for class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder.ToStringContext
- toStringFallback() - Method in class org.eclipse.lsp4j.jsonrpc.messages.CancelParams
- toStringFallback() - Method in class org.eclipse.lsp4j.jsonrpc.messages.Message
- toStringFallback() - Method in class org.eclipse.lsp4j.jsonrpc.messages.ResponseError
- traceMessages(PrintWriter) - Method in class org.eclipse.lsp4j.jsonrpc.Launcher.Builder
- TracingMessageConsumer - Class in org.eclipse.lsp4j.jsonrpc
-
A
MessageConsumerthat 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.
U
- UnknownErrorCode - org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode
- useSegment() - Method in annotation type org.eclipse.lsp4j.jsonrpc.services.JsonNotification
-
When using segments, useSegment will be true to prepend the segment name to the name of the request.
- useSegment() - Method in annotation type org.eclipse.lsp4j.jsonrpc.services.JsonRequest
-
When using segments, useSegment will be true to prepend the segment name to the name of the request.
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
- value() - Method in annotation type org.eclipse.lsp4j.jsonrpc.json.ResponseJsonAdapter
- value() - Method in annotation type org.eclipse.lsp4j.jsonrpc.services.JsonNotification
-
The name of the the jsonrpc request method.
- value() - Method in annotation type org.eclipse.lsp4j.jsonrpc.services.JsonRequest
-
The name of the the jsonrpc request method.
- value() - Method in annotation type org.eclipse.lsp4j.jsonrpc.services.JsonSegment
- 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.
- verbatimValues() - Method in class org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder
-
By default, Iterables, Arrays and multiline Strings are pretty-printed.
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, Object) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.JsonElementTypeAdapter
- write(JsonWriter, Throwable) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.ThrowableTypeAdapter
- write(JsonWriter, Collection<E>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter
- write(JsonWriter, Either<L, R>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter
- write(JsonWriter, Message) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter
- write(JsonWriter, Tuple.Two<F, S>) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.TupleTypeAdapters.TwoTypeAdapter
- write(JsonWriter, T) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.EitherTypeArgument
- write(JsonWriter, T) - Method in class org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter
- 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
nullvalue even if the JSON writer is set to not serializenull.
All Classes All Packages