forked from gorkem/vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjava.d.ts
More file actions
58 lines (51 loc) · 926 Bytes
/
java.d.ts
File metadata and controls
58 lines (51 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { Uri } from 'vscode';
declare module 'java' {
/**
* Represents a location that defines libraries and
* source code that can be build as a unit.
* Usually a project.
*/
export interface ClassPathRoot{
/**
* The uri of this ClasspathRoot
*
* @readonly
*/
uri : Uri;
/**
* The list of classpath entries associated with this root.
*/
entries: ClassPathEntry[];
}
/**
* An entry on ClassPathRoot's definition
*
*/
export interface ClassPathEntry{
/**
* The path of the entry
*/
path: Uri;
/**
* Entry kind
*/
kind: ClassPathKind;
}
export enum ClassPathKind{
/**
* A folder with source code
*/
Source = 1,
/**
* A folder or JAR that contains compiled code
*/
Library = 2,
/**
* Reference to a classpath root
*/
ClassPathRoot = 3
}
export namespace workspace{
export let classpath : ClassPathRoot[];
}
}