Package org.jacoco.core.internal.instr

Examples of org.jacoco.core.internal.instr.IProbeArrayStrategy


   * @return instrumented definition
   *
   */
  public byte[] instrument(final ClassReader reader) {
    final ClassWriter writer = new ClassWriter(reader, 0);
    final IProbeArrayStrategy strategy = ProbeArrayStrategyFactory
        .createFor(reader, accessorGenerator);
    final ClassVisitor visitor = new ClassProbesAdapter(
        new ClassInstrumenter(strategy, writer), true);
    reader.accept(visitor, ClassReader.EXPAND_FRAMES);
    return writer.toByteArray();
View Full Code Here

TOP

Related Classes of org.jacoco.core.internal.instr.IProbeArrayStrategy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.