Package org.graalvm.tools.lsp.instrument
Class LSPInstrument
java.lang.Object
com.oracle.truffle.api.instrumentation.TruffleInstrument
org.graalvm.tools.lsp.instrument.LSPInstrument
- All Implemented Interfaces:
EnvironmentProvider
public final class LSPInstrument
extends com.oracle.truffle.api.instrumentation.TruffleInstrument
implements EnvironmentProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.instrumentation.TruffleInstrument
com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory<T>, com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider, com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory<T>, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env, com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.graalvm.options.OptionKey<Boolean> static final Stringstatic final org.graalvm.options.OptionKey<Boolean> Fields inherited from class com.oracle.truffle.api.instrumentation.TruffleInstrument
locals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.truffle.api.instrumentation.TruffleInstrument.Envprotected org.graalvm.options.OptionDescriptorsprotected voidonCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env) protected voidonDispose(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env) protected voidonFinalize(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env) voidMethods inherited from class com.oracle.truffle.api.instrumentation.TruffleInstrument
createContextLocal, createContextThreadLocal, getContextOptionDescriptors, getSourceOptionDescriptors
-
Field Details
-
ID
- See Also:
-
DeveloperMode
-
Internal
-
-
Constructor Details
-
LSPInstrument
public LSPInstrument()
-
-
Method Details
-
onCreate
protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env) - Specified by:
onCreatein classcom.oracle.truffle.api.instrumentation.TruffleInstrument
-
onDispose
protected void onDispose(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env) - Overrides:
onDisposein classcom.oracle.truffle.api.instrumentation.TruffleInstrument
-
onFinalize
protected void onFinalize(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env) - Overrides:
onFinalizein classcom.oracle.truffle.api.instrumentation.TruffleInstrument
-
getOptionDescriptors
protected org.graalvm.options.OptionDescriptors getOptionDescriptors()- Overrides:
getOptionDescriptorsin classcom.oracle.truffle.api.instrumentation.TruffleInstrument
-
getEnvironment
public com.oracle.truffle.api.instrumentation.TruffleInstrument.Env getEnvironment()- Specified by:
getEnvironmentin interfaceEnvironmentProvider
-
waitForClose
public void waitForClose()
-