public Collection<String> getErrors(final String baseName) {
Assert.notEmpty(baseName, "baseName");
Collection<String> collection = new ArrayList<String>();
ClassFinder classFinder = new ClassFinderImpl(baseName, new AssignableClassFilter(Entity.class));
for (Class<?> clazz : classFinder.getClasses()) {
BeanDescriptor beanDescriptor = new BeanDescriptorBuilder(clazz).getBeanDescriptor();
for (PropertyDescriptor propertyDescriptor : beanDescriptor.getProperties()) {
String name = propertyDescriptor.getName();
if (propertyDescriptor.isAnnotationPresent(Column.class)) {
if (propertyDescriptor.isAnnotationPresent(Enumerated.class)) {
this.columnChecker.checkEnumColumn(name, propertyDescriptor, collection);