@Provides @InstrumentName String provideInstrumentName() {
return instrumentName;
}
});
String className = instrumentConfig.className();
try {
builder.add(instrumentInjector.getInstance(
Util.lenientClassForName(className).asSubclass(Instrument.class)));
} catch (ClassNotFoundException e) {
throw new InvalidCommandException("Cannot find instrument class '%s'", className);