public static void addEqualsCall ( CodeBuilder b , String fieldName , TypeDesc fieldType , boolean testForNull , Label fail , LocalVariable other ) { b . loadThis ( ) ; b . loadField ( fieldName , fieldType ) ; b . loadLocal ( other ) ; b . loadField ( fieldName , fieldType ) ; addValuesEqualCall ( b , fieldType , testForNull , fail , false ) ; }
Generates code to compare a field in this object against the same one in a different instance . Branch to the provided Label if they are not equal .