Codota Logo
ResponseJsonAdapter
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
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

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now