/**
*
*/
private void analyze() {
AnnotatedClass annotatedClass = AnnotationManager.getAnnotatedClass(daoClass);
if(annotatedClass.getAnnotation(Dao.class) == null) {
throw new AnnotationNotFoundException("The class '"+ daoClass.getName() +"' isn't annotated with the '"+ Dao.class.getName() +"' annotation. Only class annotated with that annotation can be used as annotated DAO.");
}
AnnotatedMethod[] annotatedMethods = annotatedClass.getAnnotatedMethods();
for(final AnnotatedMethod method : annotatedMethods) {
if(method.getAllAnnotations().length > 0) {
if(method.isAnnotationPresent(Insert.class)) {
analyzeInsertMethod(method);