Package kilim.analysis

Examples of kilim.analysis.ClassFlow


    private static ArrayList<MethodFlow> stflows;
    private static String                lastClassName = null;

    protected void cache(String className) throws Exception {
        if (lastClassName != className) {
            ClassFlow cf = new ClassFlow(className, Detector.DEFAULT);
            stflows = cf.analyze(/* forceAnalysis = */true);
            lastClassName = className;
        }
    }
View Full Code Here


    private static void analyzeClass(String className, Detector detector) {
        try {
            pn("-------------------------------------------------");
            pn("Class: " + className);
            System.out.flush();
            ClassFlow cf = null;
            if (className.endsWith(".class")) {
                FileInputStream fis = null;
                try {
                    fis = new FileInputStream(className);
                    cf = new ClassFlow(fis, detector);
                } finally {
                    if (fis != null) {fis.close();}
                }
            }
            if (cf == null) {
                cf = new ClassFlow(className, detector);
            }
            ArrayList<MethodFlow> flows = cf.analyze(true);
            for (MethodFlow flow: flows) {
                reportFlow(flow, className);
            }
        } catch (IOException e) {
            pn("##################################################");
View Full Code Here

    private static void analyzeClass(String className, Detector detector) {
        try {
            pn("-------------------------------------------------");
            pn("Class: " + className);
            System.out.flush();
            ArrayList<MethodFlow> flows = new ClassFlow(className, detector).analyze(true);
            for (MethodFlow flow: flows) {
                reportFlow(flow, className);
            }
        } catch (IOException e) {
            pn("##################################################");
View Full Code Here

    private static ArrayList<MethodFlow> stflows;
    private static String                lastClassName = null;

    protected void cache(String className) throws Exception {
        if (lastClassName != className) {
            ClassFlow cf = new ClassFlow(className, Detector.DEFAULT);
            stflows = cf.analyze(/* forceAnalysis = */true);
            lastClassName = className;
        }
    }
View Full Code Here

TOP

Related Classes of kilim.analysis.ClassFlow

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.