Label notString = builder.createLabel();
builder.ifZeroComparisonBranch(notString, "==");
builder.loadLocal(p2);
builder.instanceOf(stringType);
Label isString = builder.createLabel();
builder.ifZeroComparisonBranch(isString, "!=");
notString.setLocation();
generateComparableCompareTo
(builder, propertyClass, compareToMethod,
resultLabel, nextLabel, p1, p2);