public static void premain(String options, Instrumentation instrum) { preStart(options, instrum, new AgentTransformer()); }
private boolean isMapImpl(String superName, String[] interfaces, ClassLoader loader) { String[] classes = new String[interfaces.length + 1]; System.arraycopy(interfaces, 0, classes, 0, interfaces.length); classes[classes.length-1] = superName; for (int i = 0; i < classes.length; i++) { if (isMapImpl(classes[i], loader)) { return true; } } return false; }
public void run() { if (conf.getHookSignature() != hook_signature) { reload(); } hook_signature = conf.getHookSignature(); } });
ClassWriter cw = getClassWriter(classDesc); ClassVisitor cv = cw; List<IASM> workAsms = asms; cr.accept(cv, ClassReader.EXPAND_FRAMES); classfileBuffer = cw.toByteArray(); cv = cw = getClassWriter(classDesc); if (conf._log_asm_enabled) { if (this.bciOut == null) {
ClassWriter cw = getClassWriter(classDesc); ClassVisitor cv = cw; List<IASM> workAsms = asms; cr.accept(cv, ClassReader.EXPAND_FRAMES); classfileBuffer = cw.toByteArray(); cv = cw = getClassWriter(classDesc); if (conf._log_asm_enabled) { if (this.bciOut == null) {
private boolean isMapImpl(String superName, String[] interfaces, ClassLoader loader) { String[] classes = new String[interfaces.length + 1]; System.arraycopy(interfaces, 0, classes, 0, interfaces.length); classes[classes.length-1] = superName; for (int i = 0; i < classes.length; i++) { if (isMapImpl(classes[i], loader)) { return true; } } return false; }
public void run() { if (conf.getHookSignature() != hook_signature) { reload(); } hook_signature = conf.getHookSignature(); } });
public static void premain(String options, Instrumentation instrum) { preStart(options, instrum, new AgentTransformer()); }
ClassWriter cw = getClassWriter(classDesc); ClassVisitor cv = cw; List<IASM> workAsms = asms; cr.accept(cv, ClassReader.EXPAND_FRAMES); classfileBuffer = cw.toByteArray(); cv = cw = getClassWriter(classDesc); if (conf._log_asm_enabled) { if (this.bciOut == null) {
public void run() { if (conf.getHookSignature() != hook_signature) { reload(); } hook_signature = conf.getHookSignature(); } });
public static void premain(String options, Instrumentation instrum) { preStart(options, instrum, new AgentTransformer()); }
private boolean isMapImpl(String superName, String[] interfaces, ClassLoader loader) { String[] classes = new String[interfaces.length + 1]; System.arraycopy(interfaces, 0, classes, 0, interfaces.length); classes[classes.length-1] = superName; for (int i = 0; i < classes.length; i++) { if (isMapImpl(classes[i], loader)) { return true; } } return false; }