Package edu.umd.cs.findbugs.ba.ca

Examples of edu.umd.cs.findbugs.ba.ca.CallListDataflow


    @Override
    public CallListDataflow analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException {
        CallListAnalysis analysis = new CallListAnalysis(getCFG(analysisCache, descriptor), getDepthFirstSearch(analysisCache,
                descriptor), getConstantPoolGen(analysisCache, descriptor.getClassDescriptor()));

        CallListDataflow dataflow = new CallListDataflow(getCFG(analysisCache, descriptor), analysis);
        dataflow.execute();

        return dataflow;

    }
View Full Code Here


     *            the Location
     */
    private static void addRecentlyCalledMethods(WarningPropertySet<WarningProperty> propertySet, ClassContext classContext,
            Method method, Location location) {
        try {
            CallListDataflow dataflow = classContext.getCallListDataflow(method);
            CallList callList = dataflow.getFactAtLocation(location);
            if (!callList.isValid()) {
                return;
            }
            int count = 0;
            for (Iterator<Call> i = callList.callIterator(); count < 4 && i.hasNext(); ++count) {
View Full Code Here

TOP

Related Classes of edu.umd.cs.findbugs.ba.ca.CallListDataflow

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.