Package org.openquark.cal.compiler.SourceMetricFinder

Examples of org.openquark.cal.compiler.SourceMetricFinder.LintWarning


        List<LintWarning> warningList = SourceMetricFinder.computeLintWarnings(moduleDefn, moduleTypeInfo, new AcceptAllQualifiedNamesFilter(), false, true, true, false, false, false);
        LintWarning[] veryLintyWarnings = new LintWarning[3];
       
        int i = 0;
        for(Iterator<LintWarning> it = warningList.iterator(); it.hasNext() && i < 3;) {
            LintWarning warning = it.next();
           
            if(warning.getFunctionName().getUnqualifiedName().equals("veryLintyFunction")) {
                veryLintyWarnings[i] = warning;
                i++;
            }
        }
       
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.SourceMetricFinder.LintWarning

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.