blob: 64c959ce03aa6c3ecfe42b57720a392d81714122 (
plain)
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
|
package org.javacs;
public class CompletionContext {
// 1-based
public final int line, character;
public final boolean inClass, inMethod;
public final Kind kind;
public final String partialName;
public CompletionContext(
int line, int character, boolean inClass, boolean inMethod, Kind kind, String partialName) {
this.line = line;
this.character = character;
this.inClass = inClass;
this.inMethod = inMethod;
this.kind = kind;
this.partialName = partialName;
}
public enum Kind {
MemberSelect,
MemberReference,
Identifier,
Annotation,
Case,
}
}
|