public class InstrumentTemplate extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTRUMENT |
static String |
INSTRUMENT_PROPERTIES |
| Constructor and Description |
|---|
InstrumentTemplate(File... jarFiles) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstrumentClass(byte[] classBytes) |
void |
addJarFile(File jarFile) |
void |
addJarFiles(Collection<File> jarFiles) |
InstrumentParseResult |
build() |
static List<Class<?>> |
matchedClass(Instrumentation instrumentation,
InstrumentConfig instrumentConfig) |
public static final String INSTRUMENT_PROPERTIES
public static final String INSTRUMENT
public InstrumentTemplate(File... jarFiles)
public void addJarFiles(Collection<File> jarFiles)
public void addJarFile(File jarFile)
public void addInstrumentClass(byte[] classBytes)
public InstrumentParseResult build() throws IOException
IOExceptionpublic static List<Class<?>> matchedClass(Instrumentation instrumentation, InstrumentConfig instrumentConfig)
Copyright © 2018–2021. All rights reserved.