Performs compile-time check of target type and annotation arguments. Logs error via logger.error if validation fails, returning false.