Tabnine Logo
ResponseJsonAdapter.<init>
Code IndexAdd Tabnine to your IDE (free)

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

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

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 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

/**
 * 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: 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<init>

Popular methods of ResponseJsonAdapter

  • value

Popular in Java

  • Making http requests using okhttp
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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