if (updateAnnotated.size() > 1) {
messager.printMessage(Kind.ERROR, "Only one @Update hook is allowed with the project", updateAnnotated.iterator().next());
return null;
}
Element updateElement = updateAnnotated.iterator().next();
TypeElement typeElement = updateElement.accept(new TypeResolvingVisitor(), null);
boolean implementsDbUpdate = false;
for (TypeMirror typeMirror : typeElement.getInterfaces()) {
if (typeMirror.toString().equals(DbUpdate.class.getCanonicalName())) {
implementsDbUpdate = true;
}