public static interface TruffleInstrument.Provider
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
.Modifier and Type | Method and Description |
---|---|
TruffleInstrument |
create()
Creates a new instance of a
TruffleInstrument . |
String |
getInstrumentClassName()
Returns the name of a class implementing the
TruffleInstrument . |
Collection<String> |
getServicesClassNames()
Returns the class names of provided services.
|
String getInstrumentClassName()
TruffleInstrument
.TruffleInstrument create()
TruffleInstrument
.Collection<String> getServicesClassNames()