Fine-grained checks on mapper annotations (JAVA-372).