Examples of addCalledMethod()


Examples of edu.umd.cs.findbugs.BugInstance.addCalledMethod()

                BugInstance bug = new BugInstance(this, "SA_FIELD_SELF_" + op, priority)
                .addClassAndMethod(this).addField(field0);

                if (this.isMethodCall()) {
                    bug.addCalledMethod(this);
                }
                bugAccumulator.accumulateBug(bug, this);
            }

            else if (opCode == IXOR && item0.equals(item1)) {
View Full Code Here

Examples of edu.umd.cs.findbugs.BugInstance.addCalledMethod()

        if (line > 0 && occursMultipleTimes.get(line)) {
            return;
        }
        BugInstance bug = new BugInstance(this, prefix + op, priority).addClassAndMethod(methodGen, sourceFile);
        if (ins instanceof InvokeInstruction) {
            bug.addCalledMethod(classContext.getConstantPoolGen(), (InvokeInstruction) ins);
        }

        bug.add(annotation)
        .addSourceLine(classContext, methodGen, sourceFile, location.getHandle());
        bugReporter.reportBug(bug);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.