import org.grails.datastore.mapping.model.IdentityMapping;
import org.grails.datastore.mapping.model.PersistentEntity;
import org.springframework.util.ReflectionUtils;
@SuppressWarnings({"rawtypes", "unchecked"})
public class BeanEntityAccess implements EntityAccess {
<BUG>private static final Set EXCLUDED_PROPERTIES = new HashSet(Arrays.asList("class", "metaClass", "properties"));
protected Object entity;</BUG>
protected BeanWrapper beanWrapper;
protected PersistentEntity persistentEntity;
public BeanEntityAccess(PersistentEntity persistentEntity, Object entity) {

import org.grails.datastore.mapping.model.IdentityMapping;
import org.grails.datastore.mapping.model.PersistentEntity;
import org.springframework.util.ReflectionUtils;
@SuppressWarnings({"rawtypes", "unchecked"})
public class BeanEntityAccess implements EntityAccess {
private static final Set EXCLUDED_PROPERTIES = ClassPropertyFetcher.EXCLUDED_PROPERTIES;
protected Object entity;
protected BeanWrapper beanWrapper;
protected PersistentEntity persistentEntity;
public BeanEntityAccess(PersistentEntity persistentEntity, Object entity) {
