public final class SystemClassInstrumenter extends Object
Constructor and Description |
---|
SystemClassInstrumenter() |
Modifier and Type | Method and Description |
---|---|
static void |
instrumentSystemClass(Instrumentation inst,
String className,
String accessFieldName)
Adds a new static field to a bootstrap class that will be used by instrumented classes.
|
public static void instrumentSystemClass(Instrumentation inst, String className, String accessFieldName) throws Exception
inst
- className
- accessFieldName
- Exception
Copyright © 2010–2019 GZoltar. All rights reserved.