Home | History | Annotate | Download | only in bytebuddy

Lines Matching defs:INSTRUMENTATION

22 import java.lang.instrument.Instrumentation;
34 * This mock maker which uses a combination of the Java instrumentation API and sub-classing rather than creating
92 private static final Instrumentation INSTRUMENTATION;
97 Instrumentation instrumentation;
101 instrumentation = ByteBuddyAgent.install();
102 if (!instrumentation.isRetransformClassesSupported()) {
135 instrumentation.appendToBootstrapClassLoaderSearch(new JarFile(boot));
148 "It seems like your current VM does not support the instrumentation API correctly."), cnfe);
155 "Potentially, the current VM does not support the instrumentation API correctly"), ioe);
158 instrumentation = null;
161 INSTRUMENTATION = instrumentation;
176 bytecodeGenerator = new TypeCachingBytecodeGenerator(new InlineBytecodeGenerator(INSTRUMENTATION, mocks), true);
283 return INSTRUMENTATION.isModifiableClass(type) && !EXCLUDES.contains(type);