this.verifier = new EntityVerifier();
}
@Override
public DaoEntity extract(Class<?> daoClass) {
Dao dao = daoClass.getAnnotation(Dao.class);
Class<?> daoEntity = dao.value();
boolean isEntityClass = !NonEntity.class.equals(daoEntity) && verifier.verify(daoEntity);
if (isEntityClass) {
return new DaoEntity(daoEntity, EntityUtils.primaryKeyClass(daoEntity));
}
return null;