Interface TruffleInstrument.Provider

Enclosing class:
TruffleInstrument

@Deprecated(since="23.1") public static interface TruffleInstrument.Provider
Deprecated.
Used to register a TruffleInstrument using a ServiceLoader. This interface is not intended to be implemented directly by an instrument developer, rather the implementation is generated by the Truffle DSL. The generated implementation has to inherit the TruffleInstrument.Registration annotations from the TruffleInstrument.
Since:
19.3.0
  • Method Details

    • getInstrumentClassName

      String getInstrumentClassName()
      Deprecated.
      Returns the name of a class implementing the TruffleInstrument.
      Since:
      19.3.0
    • create

      Deprecated.
      Creates a new instance of a TruffleInstrument.
      Since:
      19.3.0
    • getServicesClassNames

      Collection<String> getServicesClassNames()
      Deprecated.
      Returns the class names of provided services.
      Since:
      19.3.0