queuedWarningList.add(new QueuedWarning(warning, popPC)); if (DEBUG) System.out.println(queuedWarningList.size() + " queued warnings so far");
bugReporter.reportBug(warning);
	public void sawOpcode(int seen) {		// Mark branch and goto targets//		if (CHECK_CONTROL_FLOW) {//			if (isBranch(seen)) {//				markBranch(getBranchTarget());//				if (seen != GOTO && seen != GOTO_W) {//					markBranch(getBranchFallThrough());//				}//			} else if (isSwitch(seen)) {//				markBranch(getDefaultSwitchOffset());//				int[] switchOffsetList = getSwitchOffsets();//				for (int i = 0; i < switchOffsetList.length; ++i) {//					markBranch(switchOffsetList[i]);//				}//			}//		}		//		if (COUNT_POP_BRANCH_TARGETS) {//			if (isPop(seen)) {//				popList.add(new Integer(getPC()));//				if (lastIsInvoke)//					retValPopList.add(new Integer(getPC()));//			}//		}				boolean redo;				do {			redo = false;			switch (state) {			case SCAN:				if (INVOKE_OPCODE_SET.get(seen)) {					callPC = getPC();					className = getDottedClassConstantOperand();					methodName = getNameConstantOperand();					signature = getSigConstantOperand();					if (requiresReturnValueCheck()) {						if (DEBUG) System.out.println(								"Saw "+className+"."+methodName+":"+signature+" @"+callPC);						state = SAW_INVOKE;					}				}				break;							case SAW_INVOKE:				if (isPop(seen)) {					int popPC = getPC();					if (DEBUG) System.out.println("Saw POP @"+popPC);					BugInstance warning =						new BugInstance(this, "RV_RETURN_VALUE_IGNORED", NORMAL_PRIORITY)							.addClassAndMethod(this)							.addMethod(className, methodName, signature).describe("METHOD_CALLED")							.addSourceLine(this, callPC);					queuedWarningList.add(new QueuedWarning(warning, popPC));					if (DEBUG) System.out.println(queuedWarningList.size() + " queued warnings so far");				} else {					// This instruction might be an invocation, too.					// So redo processing this instruction.					redo = true;				}				state = SCAN;				break;							default:			}		} while (redo);//		if (COUNT_POP_BRANCH_TARGETS) {//			lastIsInvoke = INVOKE_OPCODE_SET.get(seen);//		}	}