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

    Fields
    Modifier and Type
    Field
    Description
    static final org.graalvm.options.OptionKey<Boolean>
     
    static final String
     
    static final org.graalvm.options.OptionKey<Boolean>
     

    Fields inherited from class com.oracle.truffle.api.instrumentation.TruffleInstrument

    locals
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
     
    protected org.graalvm.options.OptionDescriptors
     
    protected void
    onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
     
    protected void
    onDispose(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
     
    protected void
    onFinalize(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
     
    void
     

    Methods inherited from class com.oracle.truffle.api.instrumentation.TruffleInstrument

    createContextLocal, createContextThreadLocal, getContextOptionDescriptors, getSourceOptionDescriptors

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ID

      public static final String ID
      See Also:
    • DeveloperMode

      public static final org.graalvm.options.OptionKey<Boolean> DeveloperMode
    • Internal

      public static final org.graalvm.options.OptionKey<Boolean> Internal
  • Constructor Details

    • LSPInstrument

      public LSPInstrument()
  • Method Details

    • onCreate

      protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
      Specified by:
      onCreate in class com.oracle.truffle.api.instrumentation.TruffleInstrument
    • onDispose

      protected void onDispose(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
      Overrides:
      onDispose in class com.oracle.truffle.api.instrumentation.TruffleInstrument
    • onFinalize

      protected void onFinalize(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
      Overrides:
      onFinalize in class com.oracle.truffle.api.instrumentation.TruffleInstrument
    • getOptionDescriptors

      protected org.graalvm.options.OptionDescriptors getOptionDescriptors()
      Overrides:
      getOptionDescriptors in class com.oracle.truffle.api.instrumentation.TruffleInstrument
    • getEnvironment

      public com.oracle.truffle.api.instrumentation.TruffleInstrument.Env getEnvironment()
      Specified by:
      getEnvironment in interface EnvironmentProvider
    • waitForClose

      public void waitForClose()