public JavaDifferencer(String configFile1, String configFile2, String exclFile) { classLoader1 = new WalaClassLoader(configFile1, exclFile); classLoader2 = new WalaClassLoader(configFile2, exclFile); app1Classes = classLoader1.getApplicationClasses(); app2Classes = classLoader2.getApplicationClasses(); app1Methods = null; app2Methods = null; addedClasses = new ArrayList<IClass>(); deletedClasses = new ArrayList<IClass>(); modifiedClasses = new ArrayList<Pair<IClass>>(); unmodifiedClasses = new ArrayList<Pair<IClass>>(); addedMethods = new ArrayList<IMethod>(); deletedMethods = new ArrayList<IMethod>(); modifiedMethods = new ArrayList<Pair<IMethod>>(); mInfoMap = new HashMap<IMethod, MethodInfo>(); load(); }
protected ClassCorrespondence getClassCorrespondence() { return new ClassCorrespondence( classLoader1.getApplicationClasses(), classLoader2.getApplicationClasses()); }