Package org.pomizer.model

Examples of org.pomizer.model.RawClassInfo


        Collections.sort(classNames, rawClassInfoComparator);
       
        JavaUtils.printToConsole("Calculating index information ...");
        int classListLength = classNames.size();
        for (int i = 0; i < classListLength; i++) {
            RawClassInfo classInfo = classNames.get(i);
            int j = i + 1;
            while ((j < classListLength) && (0 == rawClassInfoComparator.compare(classInfo, classNames.get(j)))) {
                RawClassInfo classInfoToMerge = classNames.get(j);
                for (int k = 0; k < classInfoToMerge.jarInfoList.size(); k++) {
                    if (-1 == classInfo.jarInfoList.indexOf(classInfoToMerge.jarInfoList.get(k))) {
                        classInfo.jarInfoList.add(classInfoToMerge.jarInfoList.get(k));
                    }
                }
View Full Code Here


    private static void adjustSortedIndeces(final List<RawJarInfo> jarNames, final List<PackageInfo> packageNames,
            final List<RawClassInfo> classNames) throws Exception {
       
        JarIndexComparator jarIndexComparator = new JarIndexComparator(jarNames);
        for (int i = 0; i < classNames.size(); i++) {
            RawClassInfo classInfo = classNames.get(i);
           
            List<Integer> jarFileIndeces = new ArrayList<Integer>();
            for (int j = 0; j < classInfo.jarInfoList.size(); j++) {
                int jarIndex = Collections.binarySearch(jarNames, classInfo.jarInfoList.get(j));
                if (jarIndex < 0) {
View Full Code Here

                                }
                                else {
                                    packageInfo = packageNames.get(packageIndex);
                                }
   
                                RawClassInfo classInfo = new RawClassInfo();
                                classInfo.name = className;
                                classInfo.jarInfoList.add(currentJarInfo);
                                classInfo.packageInfo = packageInfo;
                                classNames.add(classInfo);
                            }
View Full Code Here

TOP

Related Classes of org.pomizer.model.RawClassInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.