boolean isChecked = redundantBranch.firstValue.isChecked() ||  redundantBranch.secondValue.isChecked(); boolean wouldHaveBeenAKaboom = redundantBranch.firstValue.wouldHaveBeenAKaboom() ||  redundantBranch.secondValue.wouldHaveBeenAKaboom();
boolean isChecked = redundantBranch.firstValue.isChecked(); boolean wouldHaveBeenAKaboom = redundantBranch.firstValue.wouldHaveBeenAKaboom();
	public void foundRedundantNullCheck(Location location, RedundantBranch redundantBranch) {		String sourceFile = classContext.getJavaClass().getSourceFileName();		MethodGen methodGen = classContext.getMethodGen(method);				boolean isChecked = redundantBranch.firstValue.isChecked() ||  redundantBranch.secondValue.isChecked();		boolean wouldHaveBeenAKaboom = redundantBranch.firstValue.wouldHaveBeenAKaboom() ||  redundantBranch.secondValue.wouldHaveBeenAKaboom();						int priority = NORMAL_PRIORITY;		if (isChecked) priority--;		if (wouldHaveBeenAKaboom) priority--;				boolean bothNull =  redundantBranch.firstValue.isDefinitelyNull() && redundantBranch.secondValue.isDefinitelyNull();						String warning;		if (bothNull) warning = "RCN_REDUNDANT_COMPARISON_TO_NULL_BOTH_NULL";		else warning = "RCN_REDUNDANT_COMPARISON_TO_NULL_DIFFERENT";				BugInstance bugInstance =			new BugInstance(this, warning, priority)				.addClassAndMethod(methodGen, sourceFile)				.addSourceLine(methodGen, sourceFile, location.getHandle());				if (AnalysisContext.currentAnalysisContext().getBoolProperty(				FindBugsAnalysisProperties.RELAXED_REPORTING_MODE)) {			WarningPropertySet propertySet = new WarningPropertySet();			WarningPropertyUtil.addPropertiesForLocation(propertySet, classContext, method, location);			if (isChecked) 				propertySet.addProperty(NullDerefProperty.CHECKED_VALUE);			if (wouldHaveBeenAKaboom) 				propertySet.addProperty(NullDerefProperty.WOULD_HAVE_BEEN_A_KABOOM);									propertySet.decorateBugInstance(bugInstance);						priority = propertySet.computePriority(NORMAL_PRIORITY);			bugInstance.setPriority(priority);		}		bugReporter.reportBug(bugInstance);	}