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

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


            if (!callList.isValid()) {
                return;
            }
            int count = 0;
            for (Iterator<Call> i = callList.callIterator(); count < 4 && i.hasNext(); ++count) {
                Call call = i.next();
                WarningProperty prop = null;
                switch (count) {
                case 0:
                    prop = GeneralWarningProperty.CALLED_METHOD_1;
                    break;
                case 1:
                    prop = GeneralWarningProperty.CALLED_METHOD_2;
                    break;
                case 2:
                    prop = GeneralWarningProperty.CALLED_METHOD_3;
                    break;
                case 3:
                    prop = GeneralWarningProperty.CALLED_METHOD_4;
                    break;
                default:
                    continue;
                }
                propertySet.setProperty(prop, call.getMethodName());
            }
        } catch (CFGBuilderException e) {
            // Ignore
        } catch (DataflowAnalysisException e) {
            // Ignore
View Full Code Here

TOP

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

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.