public static boolean shouldIgnoreField(String fieldName, Class<?> srcType, Class<?> destType) { if (CLASS.equals(fieldName)) { return true; } if ((CALLBACK.equals(fieldName) || CALLBACKS.equals(fieldName)) && (MappingUtils.isProxy(srcType) || MappingUtils.isProxy(destType))) { return true; } return false; }