public class TextDocumentServiceContext extends Object implements LanguageServerContext
LanguageServerContext.Key<K>
Constructor and Description |
---|
TextDocumentServiceContext() |
Modifier and Type | Method and Description |
---|---|
<V> V |
get(LanguageServerContext.Key<V> key)
Get property by Key.
|
<V> void |
put(LanguageServerContext.Key<V> key,
V value)
Add new Context property.
|
public <V> void put(LanguageServerContext.Key<V> key, V value)
LanguageServerContext
put
in interface LanguageServerContext
V
- Key Typekey
- Property Keyvalue
- Property valuepublic <V> V get(LanguageServerContext.Key<V> key)
LanguageServerContext
get
in interface LanguageServerContext
V
- Key Typekey
- Property KeyObject
PropertyCopyright © 2018 WSO2. All rights reserved.