com.oracle.truffle.tools.agentscript.impl.InsightInstrumentProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of insight-tool Show documentation
Show all versions of insight-tool Show documentation
The core module of the Insights Gathering Platform
The newest version!
// CheckStyle: start generated
package com.oracle.truffle.tools.agentscript.impl;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration;
import com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider;
import java.util.Collection;
import java.util.List;
@GeneratedBy(InsightInstrument.class)
@Registration(id = "insight", name = "Insight", version = "1.2", website = "https://www.graalvm.org/tools/graalvm-insight/")
public final class InsightInstrumentProvider extends TruffleInstrumentProvider {
@Override
protected String getInstrumentClassName() {
return "com.oracle.truffle.tools.agentscript.impl.InsightInstrument";
}
@Override
protected Object create() {
return new InsightInstrument();
}
@Override
protected Collection getServicesClassNames() {
return List.of("java.util.function.Function");
}
@Override
protected List getInternalResourceIds() {
return List.of();
}
@Override
protected Object createInternalResource(String resourceId) {
throw new IllegalArgumentException(String.format("Unsupported internal resource id %s, supported ids are ", resourceId));
}
}