Interface TruffleInstrument.Provider
- Enclosing class:
TruffleInstrument
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 Summary
Modifier and TypeMethodDescriptioncreate()
Deprecated.Creates a new instance of aTruffleInstrument
.Deprecated.Returns the name of a class implementing theTruffleInstrument
.Deprecated.Returns the class names of provided services.
-
Method Details
-
getInstrumentClassName
String getInstrumentClassName()Deprecated.Returns the name of a class implementing theTruffleInstrument
.- Since:
- 19.3.0
-
create
TruffleInstrument create()Deprecated.Creates a new instance of aTruffleInstrument
.- Since:
- 19.3.0
-
getServicesClassNames
Collection<String> getServicesClassNames()Deprecated.Returns the class names of provided services.- Since:
- 19.3.0
-
TruffleInstrumentProvider
.