es.iti.wakamiti.lsp.internal.DocumentDiagnostics Maven / Gradle / Ivy
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package es.iti.wakamiti.lsp.internal;
import java.util.List;
import org.eclipse.lsp4j.Diagnostic;
public class DocumentDiagnostics {
private String uri;
private List diagnostics;
public DocumentDiagnostics(String uri, List diagnostics) {
this.uri = uri;
this.diagnostics = diagnostics;
}
public String uri() {
return uri;
}
public List diagnostics() {
return diagnostics;
}
}