org.jacoco.core.internal.instr
Class ProbeArrayStrategyFactory

java.lang.Object
  extended by org.jacoco.core.internal.instr.ProbeArrayStrategyFactory

public final class ProbeArrayStrategyFactory
extends Object

Factory to find a suitable strategy to access the probe array for a given class.


Method Summary
static IProbeArrayStrategy createFor(org.objectweb.asm.ClassReader reader, IExecutionDataAccessorGenerator accessorGenerator)
          Creates a suitable strategy instance for the class described by the given reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFor

public static IProbeArrayStrategy createFor(org.objectweb.asm.ClassReader reader,
                                            IExecutionDataAccessorGenerator accessorGenerator)
Creates a suitable strategy instance for the class described by the given reader.

Parameters:
reader - reader to get information about the class
accessorGenerator - accessor to the coverage runtime
Returns:
strategy instance


Copyright © 2009-2014 Mountainminds GmbH & Co. KG. All Rights Reserved.