• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package jdiff;
2 
3 import java.util.*;
4 import com.sun.javadoc.*;
5 
6 /**
7  * Changes between two packages.
8  *
9  * See the file LICENSE.txt for copyright details.
10  * @author Matthew Doar, mdoar@pobox.com
11  */
12 class PackageDiff {
13 
14     public String name_;
15 
16     /** Classes added in the new API. */
17     public final List<ClassAPI> classesAdded = new ArrayList<>();
18     /** Classes removed in the new API. */
19     public final List<ClassAPI> classesRemoved = new ArrayList<>();
20     /** Classes changed in the new API. */
21     public final List<ClassDiff> classesChanged = new ArrayList<>();
22 
23     /**
24      * A string describing the changes in documentation.
25      */
26     public String documentationChange_ = null;
27 
28     /* The percentage difference for this package. */
29     public double pdiff = 0.0;
30 
31     /** Default constructor. */
PackageDiff(String name)32     public PackageDiff(String name) {
33         name_ = name;
34     }
35 }
36