Package org.opensolaris.opengrok.analysis

Examples of org.opensolaris.opengrok.analysis.FileAnalyzerFactory$Matcher


                    Util.htmlize(ename, xrefOut);
                    xrefOut.append("</b>");
                }

                doc.add(new TextField("full", ename, Store.NO));
                FileAnalyzerFactory fac = AnalyzerGuru.find(ename);
                if (fac instanceof JavaClassAnalyzerFactory) {
                    if (xrefOut != null) {
                        xrefOut.append("<pre>");
                    }

                    JavaClassAnalyzer jca =
                            (JavaClassAnalyzer) fac.getAnalyzer();
                    jca.analyze(doc, new BufferedInputStream(zis), xrefOut);

                    if (xrefOut != null) {
                        xrefOut.append("</pre>");
                    }
View Full Code Here


    @Test
    public void testXref() throws IOException {
        List<File> files = new ArrayList<>();
        FileUtilities.getAllFiles(new File(repository.getSourceRoot()), files, false);
        for (File f : files) {
            FileAnalyzerFactory factory = AnalyzerGuru.find(f.getAbsolutePath());
            if (factory == null) {
                continue;
            }
            FileReader in = new FileReader(f);
            StringWriter out = new StringWriter();
View Full Code Here

TOP

Related Classes of org.opensolaris.opengrok.analysis.FileAnalyzerFactory$Matcher

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.