'use strict';

import { RequestType, NotificationType, TextDocumentIdentifier} from 'vscode-languageclient';

export interface StatusReport {
	message: string;
	type: string;
}

export namespace StatusNotification {
	export const type: NotificationType<StatusReport> = { get method() { return 'language/status'; } };
}

export namespace ClassFileContentsRequest {
    export const type: RequestType<TextDocumentIdentifier, string, void> = { get method() { return 'java/ClassFileContents'; }};
}

'use strict';

import { RequestType, NotificationType, TextDocumentIdentifier} from 'vscode-languageclient';

export interface StatusReport {
	message: string;
	type: string;
}

export namespace StatusNotification {
	export const type: NotificationType<StatusReport> = { get method() { return 'language/status'; } };
}

export namespace ClassFileContentsRequest {
    export const type: RequestType<TextDocumentIdentifier, string, void> = { get method() { return 'java/classFileContents'; }};
}

Rename java.ClassFileContents request to java.classFileContents
Rename java.ClassFileContents request to java.classFileContents

This is a consequence of https://github.com/gorkem/java-language-server/issues/111

Signed-off-by: Fred Bricon <3278c038c93c729ae96f0d035919e3fb69e9cff7@gmail.com>
