aQute.bnd.make.coverage
Class Coverage

java.lang.Object
  extended by aQute.bnd.make.coverage.Coverage

public class Coverage
extends Object

This class can create a coverage table between two classspaces. The destination class space is used to create a table of methods. All source methods that refer to a specific dest are then filled into the table.


Constructor Summary
Coverage()
           
 
Method Summary
static Map<Clazz.MethodDef,List<Clazz.MethodDef>> getCrossRef(Collection<Clazz> source, Collection<Clazz> dest)
          Create a cross reference table from source to dest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coverage

public Coverage()
Method Detail

getCrossRef

public static Map<Clazz.MethodDef,List<Clazz.MethodDef>> getCrossRef(Collection<Clazz> source,
                                                                     Collection<Clazz> dest)
                                                              throws Exception
Create a cross reference table from source to dest.

Parameters:
source - The methods that refer to dest
dest - The methods that are being referred to
Returns:
A mapping of source methods to destination methods.
Throws:
IOException
Exception


Copyright © 2012 aQute SARL. All Rights Reserved.