Top Fields Constructors Methods
org.eclipse.lsp4j.adapters

public Class DocumentDiagnosticReportTypeAdapter

extends Object
implements TypeAdapterFactory
Class Inheritance
All Implemented Interfaces
com.google.gson.TypeAdapterFactory
Imports
java.io.IOException, org.eclipse.lsp4j.DocumentDiagnosticReport, .RelatedFullDocumentDiagnosticReport, .RelatedUnchangedDocumentDiagnosticReport, org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter, .EitherTypeAdapter.PropertyChecker, com.google.gson.Gson, .TypeAdapter, .TypeAdapterFactory, com.google.gson.reflect.TypeToken

Field Summary

Modifier and TypeField and Description
private static final TypeToken<DocumentDiagnosticReport>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> TypeAdapter<T>
create(Gson gson, TypeToken<T> type)

Implements com.google.gson.TypeAdapterFactory.create.

Returns a type adapter for type, or null if this factory doesn't support type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ELEMENT_TYPEback to summary
private static final TypeToken<DocumentDiagnosticReport> ELEMENT_TYPE

Constructor Detail

DocumentDiagnosticReportTypeAdapterback to summary
public DocumentDiagnosticReportTypeAdapter()

Method Detail

createback to summary
public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type)

Implements com.google.gson.TypeAdapterFactory.create.

Doc from com.google.gson.TypeAdapterFactory.create.

Returns a type adapter for type, or null if this factory doesn't support type.

Annotations
@SuppressWarnings:unchecked
@Override