LocalVariable valueVar = b.getParameter(1);
// If search value is null, only check properties which might be null.
b.loadLocal(valueVar);
Label searchNotNull = b.createLabel();
b.ifNullBranch(searchNotNull, false);
for (BeanProperty bp : properties) {
if (bp.getType().isPrimitive()) {
continue;
}