bugReporter.reportBug(new BugInstance("UI_INHERITANCE_UNSAFE_GETRESOURCE", NORMAL_PRIORITY)
bugReporter.reportBug(new BugInstance(this, "UI_INHERITANCE_UNSAFE_GETRESOURCE", NORMAL_PRIORITY)
	public void sawOpcode(int seen) {		if (reportedForThisClass) return;		switch (seen) {		case ALOAD_0:			state = 1;			break;		case INVOKEVIRTUAL:			if (getClassConstantOperand().equals("java/lang/Class")			        && (getNameConstantOperand().equals("getResource")			        || getNameConstantOperand().equals("getResourceAsStream"))			        && sawGetClass + 10 >= getPC()) {				bugReporter.reportBug(new BugInstance("UI_INHERITANCE_UNSAFE_GETRESOURCE", NORMAL_PRIORITY)				        .addClassAndMethod(this)				        .addSourceLine(this));				reportedForThisClass = true;			} else if (state == 1			        && !methodIsStatic			        // && !methodIsFinal			        && !classIsFinal			        && classIsVisibleToOtherPackages			        // && methodIsVisibleToOtherPackages			        && getNameConstantOperand().equals("getClass")			        && getSigConstantOperand().equals("()Ljava/lang/Class;")) {				sawGetClass = getPC();			}			state = 0;			break;		default:			state = 0;			break;		}	}