Java Generics is a compilation-only language feature; common types (such as Stringand Integerhere) is erased at compile time, and the byte-code includes only the raw type, for example:
public void add(List strs) {...}
- , . , varargs, , .
, , List<String>, List String, .