bugReporter.reportBug(new BugInstance("SIO_SUPERFLUOUS_INSTANCEOF", LOW_PRIORITY)
bugReporter.reportBug(new BugInstance(this, "SIO_SUPERFLUOUS_INSTANCEOF", LOW_PRIORITY)
	public void sawOpcode(int seen) {		switch (state) {			case SEEN_NOTHING:				if (seen == ALOAD)					register = getRegisterOperand();				else if ((seen >= ALOAD_0) && (seen <= ALOAD_3))					register = seen - ALOAD_0;				else					return;				state = SEEN_ALOAD;			break;						case SEEN_ALOAD:				try {					if (seen == INSTANCEOF) {						LocalVariable lv = varTable.getLocalVariable(register);						String objSignature = lv.getSignature();						if (objSignature.charAt(0) == 'L') {							objSignature = objSignature.substring(1, objSignature.length()-1).replace('/', '.');							String clsSignature = getDottedClassConstantOperand();														if (clsSignature.charAt(0) != '[') {								if (org.apache.bcel.Repository.instanceOf( objSignature, clsSignature )) {									bugReporter.reportBug(new BugInstance("SIO_SUPERFLUOUS_INSTANCEOF", LOW_PRIORITY)							        	.addClassAndMethod(this)							        	.addSourceLine(this));								}							}						}					}				} catch (ClassNotFoundException cnfe) {					bugReporter.reportMissingClass(cnfe);				}								state = SEEN_NOTHING;			break;		}			}