.addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle()) .addClass("java.lang.String").describe("CLASS_REFTYPE");
.addClass("java.lang.String").describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle());
	private void handleStringComparison(			JavaClass jclass,			MethodGen methodGen,			RefComparisonTypeFrameModelingVisitor visitor,			List<WarningWithProperties> stringComparisonList,			Location location,			Type lhsType,			Type rhsType) {		if (DEBUG) System.out.println("String/String comparison at " + location.getHandle());		// Compute the priority:		// - two static strings => do not report		// - dynamic string and anything => high		// - static string and unknown => medium		// - all other cases => low		// System.out.println("Compare " + lhsType + " == " + rhsType);		byte type1 = lhsType.getType();		byte type2 = rhsType.getType();				// T1 T2 result		// S  S  no-op		// D  ?  high		// ?  D  high		// S  ?  normal		// ?  S  normal		WarningPropertySet propertySet = new WarningPropertySet();		if (type1 == T_STATIC_STRING && type2 == T_STATIC_STRING) {			//priority = LOW_PRIORITY + 1;			propertySet.addProperty(RefComparisonWarningProperty.COMPARE_STATIC_STRINGS);		} else if (type1 == T_DYNAMIC_STRING || type2 == T_DYNAMIC_STRING) {			//priority = HIGH_PRIORITY;			propertySet.addProperty(RefComparisonWarningProperty.DYNAMIC_AND_UNKNOWN);		} else if (type1 == T_STATIC_STRING || type2 == T_STATIC_STRING) {			//priority = LOW_PRIORITY;			propertySet.addProperty(RefComparisonWarningProperty.STATIC_AND_UNKNOWN);		} else if (visitor.sawStringIntern()) {			//priority = LOW_PRIORITY;			propertySet.addProperty(RefComparisonWarningProperty.SAW_INTERN);		}				String sourceFile = jclass.getSourceFileName();		BugInstance instance =			new BugInstance(this, "ES_COMPARING_STRINGS_WITH_EQ", NORMAL_PRIORITY)			.addClassAndMethod(methodGen, sourceFile)			.addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle())			.addClass("java.lang.String").describe("CLASS_REFTYPE");				WarningWithProperties warn = new WarningWithProperties(instance, propertySet, location);		stringComparisonList.add(warn);	}