Class Coverage


  • public class Coverage
    extends java.lang.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

      Constructors 
      Constructor Description
      Coverage()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<Clazz.MethodDef,​java.util.List<Clazz.MethodDef>> getCrossRef​(java.util.Collection<Clazz> source, java.util.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 java.util.Map<Clazz.MethodDef,​java.util.List<Clazz.MethodDef>> getCrossRef​(java.util.Collection<Clazz> source,
                                                                                                       java.util.Collection<Clazz> dest)
                                                                                                throws java.lang.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:
        java.lang.Exception