Stadtluft ist dreckig. Damit man wenigstens im Auto frei atmen kann, bieten Fahrzeughersteller Filtersysteme für Klimaanlagen - und verdienen so an einem Problem, das sie selbst mit verursacht haben.
@SafeVarargs
Is a cure for the warning: [unchecked] Possible heap pollution from parameterized vararg type Foo.
Is part of the method's contract, hence why the annotation has runtime retention.
Is a promise to the caller of the method that the method will not mess up the heap using the generic varargs argument.
L. Chen, Y. Cai, Y. Ding, M. Lv, C. Yuan, и G. Chen. Proceedings of the 2016 ACM international joint conference on pervasive and ubiquitous computing, стр. 1076--1087. (2016)
Y. Zheng, F. Liu, и H. Hsieh. Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining, стр. 1436--1444. (2013)
W. Lu, W. Wang, A. Leung, S. Lo, R. Yuen, Z. Xu, и H. Fan. Proceedings of the 2002 International Joint Conference on Neural Networks. IJCNN'02 (Cat. No.02CH37290), 1, стр. 630-635 vol.1. (2002)