IDEA已经实现了部分代码检查,这个应该是IDEA后续支持的, http://today.java.net/pub/a/today/2008/09/11/jsr-305-annotations.html