从java6到java7, 在java.lang这样一个核心package中, 增加且仅增加了一个新注解@SafeVarargs, 那它到底是何方神圣呢?
参考:
- http://docs.oracle.com/javase/7/docs/technotes/guides/language/non-reifiable-varargs.html
- http://docs.oracle.com/javase/tutorial/java/generics/nonReifiableVarargsType.html#heap_pollution
- http://docs.oracle.com/javase/8/docs/api/java/lang/SafeVarargs.html