public static final class Completion.Context extends Object
Constructor and Description |
---|
Context(Completion.TriggerKind triggerKind,
Character triggerCharacter) |
Modifier and Type | Method and Description |
---|---|
Character |
getTriggerCharacter()
The trigger character that has trigger code complete.
|
Completion.TriggerKind |
getTriggerKind()
How the completion was triggered.
|
public Context(@NonNull Completion.TriggerKind triggerKind, @NullAllowed Character triggerCharacter)
@NonNull public Completion.TriggerKind getTriggerKind()
@CheckForNull public Character getTriggerCharacter()
triggerKind != TriggerKind.TriggerCharacter
.