logger.warn("Method " + method.getName() + " from " + originalType.getName()
+ " is annotated with @Logic. Although its supported, we suggest you to migrate to @Path.");
}
if (method.isAnnotationPresent(Validate.class)) {
Validate validate = method.getAnnotation(Validate.class);
if (validate.fields().length != 0) {
logger.error("Method " + method.getName() + " from " + originalType.getName()
+ " is annotated with @Validate with fields. This is not supported.");
}
}
}