52535455565758
} return (result != null && !"".equals(result)) ? result : entityClass.getSimpleName(); } public static boolean isEntityClass(Class<?> entityClass) { return new EntityVerifier().verify(entityClass); }
60616263646566
10111213141516
public class AnnotationMetadataExtractor implements MetadataExtractor { private final Verifier<Class<?>> verifier; public AnnotationMetadataExtractor() { this.verifier = new EntityVerifier(); }
13141516171819
private final Class<?> daoClass; private final Verifier<Class<?>> verifier; public AnnotationMetadataExtractor(Class<?> daoClass) { this.daoClass = daoClass; this.verifier = new EntityVerifier(); }