.addClass(methodGen.getClassName()) .addMethod(methodGen)
.addClassAndMethod(methodGen)
	public void reportMatch(MethodGen methodGen, ByteCodePatternMatch match) {		BindingSet bindingSet = match.getBindingSet();		// Note that the lookup of "h" cannot fail, and		// it is guaranteed to be bound to a FieldVariable.		Binding binding = bindingSet.lookup("h");		FieldVariable field = (FieldVariable) binding.getVariable();		// Ignore fields generated for accesses to Foo.class		if (field.getFieldName().startsWith("class$"))			return;		// Find start and end instructions (for reporting source lines)		InstructionHandle start = match.getLabeledInstruction("startDC");		InstructionHandle end   = match.getLabeledInstruction("endDC");		bugReporter.reportBug(new BugInstance("BCPDC_DOUBLECHECK", NORMAL_PRIORITY)			.addClass(methodGen.getClassName())			.addMethod(methodGen)			.addField(field).describe("FIELD_ON")			.addSourceLine(methodGen, start, end));	}