Tabnine Logo
ResponseJsonAdapter
Code IndexAdd Tabnine to your IDE (free)

How to use
ResponseJsonAdapter
in
org.eclipse.lsp4j.jsonrpc.json

Best Java code snippets using org.eclipse.lsp4j.jsonrpc.json.ResponseJsonAdapter (Showing top 8 results out of 315)

origin: eclipse/lsp4j

/**
 * The prepare rename request is sent from the client to the server to setup and test the validity of a rename
 * operation at a given location.
 * 
 * Since version 3.12.0
 */
@JsonRequest
@ResponseJsonAdapter(PrepareRenameResponseAdapter.class)
default CompletableFuture<Either<Range, PrepareRenameResult>> prepareRename(TextDocumentPositionParams params) {
  throw new UnsupportedOperationException();
}
origin: org.eclipse.lsp4j/org.eclipse.lsp4j.jsonrpc

if (responseTypeAdapterAnnotation != null) {
  try {
    responseTypeAdapter = responseTypeAdapterAnnotation.value().newInstance();
  } catch (InstantiationException | IllegalAccessException e) {
    throw new RuntimeException(e);
origin: eclipse/lsp4j

if (responseTypeAdapterAnnotation != null) {
  try {
    responseTypeAdapter = responseTypeAdapterAnnotation.value().newInstance();
  } catch (InstantiationException | IllegalAccessException e) {
    throw new RuntimeException(e);
origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The code action request is sent from the client to the server to compute
 * commands for a given text document and range. These commands are
 * typically code fixes to either fix problems or to beautify/refactor code.
 * 
 * Registration Options: TextDocumentRegistrationOptions
 */
@JsonRequest
@ResponseJsonAdapter(CodeActionResponseAdapter.class)
default CompletableFuture<List<Either<Command, CodeAction>>> codeAction(CodeActionParams params) {
  throw new UnsupportedOperationException();
}
origin: org.eclipse.lsp4j/org.eclipse.lsp4j

  /**
   * The prepare rename request is sent from the client to the server to setup and test the validity of a rename
   * operation at a given location.
   * 
   * Since version 3.12.0
   */
  @JsonRequest
  @ResponseJsonAdapter(PrepareRenameResponseAdapter.class)
  default CompletableFuture<Either<Range, PrepareRenameResult>> prepareRename(TextDocumentPositionParams params) {
    throw new UnsupportedOperationException();
  }
}
origin: eclipse/lsp4j

/**
 * The code action request is sent from the client to the server to compute
 * commands for a given text document and range. These commands are
 * typically code fixes to either fix problems or to beautify/refactor code.
 * 
 * Registration Options: TextDocumentRegistrationOptions
 */
@JsonRequest
@ResponseJsonAdapter(CodeActionResponseAdapter.class)
default CompletableFuture<List<Either<Command, CodeAction>>> codeAction(CodeActionParams params) {
  throw new UnsupportedOperationException();
}
origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The document symbol request is sent from the client to the server to list
 * all symbols found in a given text document.
 * 
 * Registration Options: TextDocumentRegistrationOptions
 */
@JsonRequest
@ResponseJsonAdapter(DocumentSymbolResponseAdapter.class)
default CompletableFuture<List<Either<SymbolInformation, DocumentSymbol>>> documentSymbol(DocumentSymbolParams params) {
  throw new UnsupportedOperationException();
}
origin: eclipse/lsp4j

/**
 * The document symbol request is sent from the client to the server to list all
 * symbols found in a given text document.
 * 
 * Registration Options: {@link TextDocumentRegistrationOptions}
 * 
 * <p>
 * <b>Caveat</b>: although the return type allows mixing the
 * {@link DocumentSymbol} and {@link SymbolInformation} instances into a list do
 * not do it because the clients cannot accept a heterogeneous list. A list of
 * {@code DocumentSymbol} instances is only a valid return value if the
 * {@link DocumentSymbolCapabilities#getHierarchicalDocumentSymbolSupport()
 * textDocument.documentSymbol.hierarchicalDocumentSymbolSupport} is
 * {@code true}. More details on this difference between the LSP and the LSP4J
 * can be found <a href="https://github.com/eclipse/lsp4j/issues/252">here</a>.
 * </p>
 */
@JsonRequest
@ResponseJsonAdapter(DocumentSymbolResponseAdapter.class)
default CompletableFuture<List<Either<SymbolInformation, DocumentSymbol>>> documentSymbol(DocumentSymbolParams params) {
  throw new UnsupportedOperationException();
}
org.eclipse.lsp4j.jsonrpc.jsonResponseJsonAdapter

Most used methods

  • <init>
  • value

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now